Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
6.0.0 Beta4
-
$ 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
Description
Found when building Qt from CI-approved commit 43291fd110 in the dev branch of qt5.git.
The -no-opengl option works correctly with the old qmake-based configure, but the new cmake-based configure crashes as follows:
$ ./configure -no-gui ... -- Could NOT find Qt6Gui (missing: Qt6Gui_DIR) CMake Warning at /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package): Found package configuration file: /home/qt/depot/tmp/qt5/qtbase/lib/cmake/Qt6/Qt6Config.cmake but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT FOUND. Reason given by package: Failed to find Qt component "Gui" config file at "" Call Stack (most recent call first): qtbase/lib/cmake/Qt6Network/Qt6NetworkDependencies.cmake:8 (find_dependency) qtbase/lib/cmake/Qt6Network/Qt6NetworkConfig.cmake:38 (include) qtbase/lib/cmake/Qt6/Qt6Config.cmake:93 (find_package) qtquickcontrols2/CMakeLists.txt:18 (find_package) CMake Warning at qtbase/lib/cmake/Qt6/Qt6Config.cmake:93 (find_package): Found package configuration file: /home/qt/depot/tmp/qt5/qtbase/lib/cmake/Qt6Network/Qt6NetworkConfig.cmake but it set Qt6Network_FOUND to FALSE so package "Qt6Network" is considered to be NOT FOUND. Reason given by package: Qt6Network could not be found because dependency Qt6 could not be found. Call Stack (most recent call first): qtquickcontrols2/CMakeLists.txt:18 (find_package) CMake Warning at /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package): Found package configuration file: /home/qt/depot/tmp/qt5/qtbase/lib/cmake/Qt6/Qt6Config.cmake but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT FOUND. Reason given by package: Failed to find Qt component "Gui" config file at "" Failed to find Qt component "Network" config file at "" Call Stack (most recent call first): qtbase/lib/cmake/Qt6Qml/Qt6QmlDependencies.cmake:8 (find_dependency) qtbase/lib/cmake/Qt6Qml/Qt6QmlConfig.cmake:38 (include) qtbase/lib/cmake/Qt6/Qt6Config.cmake:93 (find_package) qtquickcontrols2/CMakeLists.txt:18 (find_package) CMake Warning at qtbase/lib/cmake/Qt6/Qt6Config.cmake:93 (find_package): Found package configuration file: /home/qt/depot/tmp/qt5/qtbase/lib/cmake/Qt6Qml/Qt6QmlConfig.cmake but it set Qt6Qml_FOUND to FALSE so package "Qt6Qml" is considered to be NOT FOUND. Reason given by package: Qt6Qml could not be found because dependency Qt6 could not be found. Call Stack (most recent call first): qtquickcontrols2/CMakeLists.txt:18 (find_package) -- Could NOT find Qt6Quick (missing: Qt6Quick_DIR) CMake Error at qtquickcontrols2/CMakeLists.txt:18 (find_package): Found package configuration file: /home/qt/depot/tmp/qt5/qtbase/lib/cmake/Qt6/Qt6Config.cmake but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT FOUND. Reason given by package: Failed to find Qt component "Gui" config file at "" Failed to find Qt component "Network" config file at "" Failed to find Qt component "Qml" config file at "" Failed to find Qt component "Quick" config file at ""
This is similar to the failure reported forĀ -no-opengl QTBUG-88297, but there's a lot more error output, so it's not clear to me if these are the same or separate bugs.
Attachments
Issue Links
- duplicates
-
QTBUG-88343 Mirror -no-gui qmake configuration in CMake
-
- Closed
-
- relates to
-
QTBUG-86053 Figure out and add missing CI CMake configs that mirror qmake non-Packaging ones
-
- Closed
-