Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Apr 2019 16:20:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 237075] [devel/qt5-core] QSysInfo::productVersion() returns "unknown"
Message-ID:  <bug-237075-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237075

            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@FreeBSD.org
          Reporter: danfe@FreeBSD.org
             Flags: maintainer-feedback?(kde@FreeBSD.org)
          Assignee: kde@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>
>=20
> int main()
> {
>     QString pv =3D QSysInfo::productVersion();
>=20
>     fprintf(stderr, "%s\n", pv.toLocal8Bit().constData());
> }
> $ c++ pv.cc -I/usr/local/include/qt5/QtCore -I/usr/local/include/qt5 -fPI=
C \
> -L/usr/local/lib/qt5 -lQt5Core
> $ ./a.out
> unknown
The same program built on Fedora release 26 (Twenty Six) returns more or le=
ss
correct "26".

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237075-7788>