Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.7.1
-
Ubuntu22.04 x64, branch 6.7
-
86c9f944a (dev), f938dfcd1 (6.7), cce2d2431 (tqtc/lts-6.5)
Description
Have Qt 6.7.1 snapshot sources available, qt5.git SHA1 2366d4f29ef91f896b06e465a4a8a4255445ebfa, configure with:
cmake -DFEATURE_gui=OFF -G Ninja -DCMAKE_INSTALL_PREFIX:PATH=/home/qt/RTA/src-6.7.1/qtbase /home/qt/RTA/src-6.7.1
Fails:
-- Configuring submodule 'qtspeech' -- Could NOT find Qt6Gui (missing: Qt6Gui_DIR) CMake Warning at qtbase/lib/cmake/Qt6/Qt6Config.cmake:226 (message): Failed to find optional Qt component "Gui". Expected Config file at "/home/qt/RTA/src-6.7.1/qtbase/lib/cmake/Qt6Gui/Qt6GuiConfig.cmake" does NOT exist Call Stack (most recent call first): qtspeech/CMakeLists.txt:17 (find_package) -- Could NOT find Qt6Multimedia (missing: Qt6Multimedia_DIR) CMake Warning at qtbase/lib/cmake/Qt6/Qt6Config.cmake:226 (message): Failed to find optional Qt component "Multimedia". Expected Config file at "/home/qt/RTA/src-6.7.1/qtbase/lib/cmake/Qt6Multimedia/Qt6MultimediaConfig.cmake" does NOT exist Call Stack (most recent call first): qtspeech/CMakeLists.txt:17 (find_package) -- Could NOT find Qt6Widgets (missing: Qt6Widgets_DIR) CMake Warning at qtbase/lib/cmake/Qt6/Qt6Config.cmake:226 (message): Failed to find optional Qt component "Widgets". Expected Config file at "/home/qt/RTA/src-6.7.1/qtbase/lib/cmake/Qt6Widgets/Qt6WidgetsConfig.cmake" does NOT exist Call Stack (most recent call first): qtspeech/CMakeLists.txt:17 (find_package) -- Could NOT find Qt6QuickTest (missing: Qt6QuickTest_DIR) CMake Warning at qtbase/lib/cmake/Qt6/Qt6Config.cmake:226 (message): Failed to find optional Qt component "QuickTest". Expected Config file at "/home/qt/RTA/src-6.7.1/qtbase/lib/cmake/Qt6QuickTest/Qt6QuickTestConfig.cmake" does NOT exist Call Stack (most recent call first): qtspeech/CMakeLists.txt:17 (find_package) Skipping the build as the condition "TARGET Qt6::Multimedia" is not met. -- Configuring submodule 'qttranslations' -- Configuring submodule 'qtvirtualkeyboard' Skipping the build as the condition "TARGET Qt::Quick" is not met. -- Configuring submodule 'qtwayland' -- Could NOT find Qt6Gui (missing: Qt6Gui_DIR) CMake Error at qtwayland/CMakeLists.txt:26 (find_package): Found package configuration file: /home/qt/RTA/src-6.7.1/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 required Qt component "Gui". Expected Config file at "/home/qt/RTA/src-6.7.1/qtbase/lib/cmake/Qt6Gui/Qt6GuiConfig.cmake" does NOT exist Configuring with --debug-find-pkg=Qt6Gui might reveal details why the package was not found. Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some of the path variables that find_package uses to try and find the package.
Same configure on 6.7.0 worked without errors.
Attachments
Issue Links
- resulted from
-
QTQAINFRA-5876 Add RTA test for toplevel --no-gui build
- Closed
For Gerrit Dashboard: QTBUG-124304 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
554513,4 | Revert "Make Qt::Gui as a required module" | dev | qt/qtwayland | Status: MERGED | +2 | 0 |
554565,3 | Revert "Make Qt::Gui as a required module" | 6.7 | qt/qtwayland | Status: MERGED | +2 | 0 |
555655,2 | Revert "Make Qt::Gui as a required module" | tqtc/lts-6.5 | qt/tqtc-qtwayland | Status: MERGED | +2 | 0 |