Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.0.0 Beta5
-
$ lsb_release -d
Description: openSUSE Leap 15.2
$ uname -a
Linux localhost.localdomain 5.3.18-lp152.47-default #1 SMP Thu Oct 15 16:05:25 UTC 2020 (41f7396) x86_64 x86_64 x86_64 GNU/Linux
-
-
85f0792d2b10994e9e5fa70de50aa0ac39e98e20 (qt/qtbase/dev) 3965eb230523a2d90d65b8ebaf8de9399fa899d7 (qt/qtbase/6.0) 02c6d57cabecb0624768eeb31e74ec2e9c93f59e (qt/qtbase/6.0.0)
Description
Found when building Qt from CI-approved commit 4e2e65c7 in the dev branch of qt5.git.
When running the old qmake-based configure with -no-gui, the configure output correctly shows that both GUI and Widgets modules will not be built.
$ git clone git://code.qt.io/qt/qt5.git ... $ cd qt5 $ perl init-repository -f ... $ mkdir ../qt-build $ cd ../qt-build $ ../qt5/configure -qmake -opensource -confirm-license -no-gui ... Qt modules and options: Qt Concurrent .......................... yes Qt D-Bus ............................... yes Qt D-Bus directly linked to libdbus .... yes Qt Gui ................................. no Qt Network ............................. yes Qt Sql ................................. yes Qt Testlib ............................. yes Qt Widgets ............................. no Qt Xml ................................. yes ...
When doing the same with the new cmake-based configure, the configure output erroneously shows that both GUI and Widgets will be built. Furthermore, the CMakeCache.txt also says that GUI is still ON.
$ git clone git://code.qt.io/qt/qt5.git ... $ cd qt5 $ perl init-repository -f ... $ mkdir ../qt-build $ cd ../qt-build $ ../qt5/configure -no-gui ... Qt modules and options: Qt Concurrent .......................... yes Qt D-Bus ............................... yes Qt D-Bus directly linked to libdbus .... yes Qt Gui ................................. yes Qt Network ............................. yes Qt Sql ................................. yes Qt Testlib ............................. yes Qt Widgets ............................. yes Qt Xml ................................. yes ... $ cat CMakeCache.txt ... //Qt Gui FEATURE_gui:BOOL=ON ...