Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.9.0 Beta3
-
Ubuntu22.04-x64, branch 6.9
-
5d562fde9 (dev), 008afbc7f (6.9), 97eb30893 (6.8)
Description
Have Qt sources available, configure no-gui build:
cmake -DFEATURE_gui=OFF -G Ninja -DCMAKE_INSTALL_PREFIX:PATH=/home/qt/RTA/src-6.9.0/qtbase /home/qt/RTA/src-6.9.0
Fails:
-- The CXX compiler identification is GNU 11.4.0 -- The C compiler identification is GNU 11.4.0 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/cc -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Checking dependencies of submodule 'qtbase' -- Checking dependencies of submodule 'qtimageformats' -- Checking dependencies of submodule 'qtlanguageserver' -- Checking dependencies of submodule 'qtshadertools' -- Checking dependencies of submodule 'qtsvg' -- Checking dependencies of submodule 'qtdeclarative' -- Checking dependencies of submodule 'qtquicktimeline' -- Checking dependencies of submodule 'qtquick3d' -- Checking dependencies of submodule 'qtmultimedia' -- Checking dependencies of submodule 'qt3d' -- Checking dependencies of submodule 'qt5compat' -- Checking dependencies of submodule 'qtactiveqt' -- Checking dependencies of submodule 'qtcharts' -- Checking dependencies of submodule 'qtcoap' -- Checking dependencies of submodule 'qtconnectivity' -- Checking dependencies of submodule 'qtdatavis3d' -- Checking dependencies of submodule 'qtgraphs' -- Checking dependencies of submodule 'qtwebsockets' -- Checking dependencies of submodule 'qthttpserver' -- Checking dependencies of submodule 'qtserialport' -- Checking dependencies of submodule 'qtpositioning' -- Checking dependencies of submodule 'qtlocation' -- Checking dependencies of submodule 'qttools' -- Checking dependencies of submodule 'qtwebchannel' -- Checking dependencies of submodule 'qtwebengine' -- Checking dependencies of submodule 'qtdoc' -- Checking dependencies of submodule 'qtgrpc' -- Checking dependencies of submodule 'qtlottie' -- Checking dependencies of submodule 'qtmqtt' -- Checking dependencies of submodule 'qtnetworkauth' -- Checking dependencies of submodule 'qtopcua' -- Checking dependencies of submodule 'qtquick3dphysics' -- Checking dependencies of submodule 'qtquickeffectmaker' -- Checking dependencies of submodule 'qtremoteobjects' -- Checking dependencies of submodule 'qtscxml' -- Checking dependencies of submodule 'qtsensors' -- Checking dependencies of submodule 'qtserialbus' -- Checking dependencies of submodule 'qtspeech' -- Checking dependencies of submodule 'qttranslations' -- Checking dependencies of submodule 'qtvirtualkeyboard' -- Checking dependencies of submodule 'qtwayland' -- Checking dependencies of submodule 'qtwebview' -- Configuring submodule 'qtbase' -- [QtBase] Setting build type to 'Release' as none was specified. -- Configuring submodule 'qtimageformats' Skipping the build as the condition "TARGET Qt::Gui" is not met. -- Configuring submodule 'qtlanguageserver' -- Configuring submodule 'qtshadertools' Skipping the build as the condition "TARGET Qt::Gui" is not met. -- Configuring submodule 'qtsvg' -- Configuring submodule 'qtdeclarative' -- Could NOT find Qt6ShaderTools (missing: Qt6ShaderTools_DIR) CMake Warning at qtbase/lib/cmake/Qt6/Qt6Config.cmake:269 (message): Failed to find optional Qt component "ShaderTools". Expected Config file at "/home/qt/RTA/src-6.9.0/qtbase/lib/cmake/Qt6ShaderTools/Qt6ShaderToolsConfig.cmake" does NOT existCall Stack (most recent call first): qtdeclarative/CMakeLists.txt:45 (find_package) -- Configuring submodule 'qtquicktimeline' Skipping the build as the condition "TARGET Qt::Quick" is not met. -- Configuring submodule 'qtquick3d' Skipping the build as the condition "TARGET Qt::Quick" is not met. -- Configuring submodule 'qtmultimedia' -- Could NOT find Qt6Gui (missing: Qt6Gui_DIR) CMake Error at qtmultimedia/CMakeLists.txt:16 (find_package): Found package configuration file: /home/qt/RTA/src-6.9.0/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.9.0/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.-- Configuring incomplete, errors occurred!
Last passed on 19th Feb, SHA1 = 6e5ad2a7e826e37fb379a1ff21427f4312be3b79
Attachments
For Gerrit Dashboard: QTBUG-134090 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
627377,4 | Revert "CMake: add Gui to the required components" | dev | qt/qtmultimedia | Status: MERGED | +2 | 0 |
627482,2 | Revert "CMake: add Gui to the required components" | 6.9 | qt/qtmultimedia | Status: MERGED | +2 | 0 |
627613,2 | Revert "CMake: add Gui to the required components" | 6.8 | qt/qtmultimedia | Status: MERGED | +2 | 0 |