[Bug 237075] [devel/qt5-core] QSysInfo::productVersion() returns "unknown"

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Apr 7 17:20:58 BST 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237075

            Bug ID: 237075
           Summary: [devel/qt5-core] QSysInfo::productVersion() returns
                    "unknown"
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde at FreeBSD.org
          Reporter: danfe at FreeBSD.org
             Flags: maintainer-feedback?(kde at FreeBSD.org)
          Assignee: kde at FreeBSD.org

In our Qt5 build, QSysInfo::productVersion() returns "unknown" string for
FreeBSD version, instead of expected "13.0-CURRENT" (for example).  The
following little program demonstrates this:

> $ cat pv.cc
> #include <QString>
> #include <QSysInfo>
> 
> int main()
> {
>     QString pv = QSysInfo::productVersion();
> 
>     fprintf(stderr, "%s\n", pv.toLocal8Bit().constData());
> }
> $ c++ pv.cc -I/usr/local/include/qt5/QtCore -I/usr/local/include/qt5 -fPIC \
> -L/usr/local/lib/qt5 -lQt5Core
> $ ./a.out
> unknown
The same program built on Fedora release 26 (Twenty Six) returns more or less
correct "26".

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list