Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-118444

no-gui build fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.7.0 Beta1
    • 6.7.0 FF
    • Build System
    • Ubuntu2204 x64

    Description

      Have qt sources in /home/qt/RTA/src-6.7.0, prepare no-gui build by configuring with

      cmake -DINPUT_gui=no -G Ninja -DCMAKE_INSTALL_PREFIX:PATH=/home/qt/RTA/src-6.7.0/qtbase /home/qt/RTA/src-6.7.0

      Fails:

      -- Could NOT find Qt6Svg (missing: Qt6Svg_DIR)
      CMake Warning at qtbase/lib/cmake/Qt6/Qt6Config.cmake:214 (message):
        Failed to find optional Qt component "Svg".  Expected Config file at
        "/home/qt/RTA/src-6.7.0/qtbase/lib/cmake/Qt6Svg/Qt6SvgConfig.cmake" does
        NOT existCall Stack (most recent call first):
        qtsensors/CMakeLists.txt:17 (find_package)
      -- Could NOT find Qt6QuickTest (missing: Qt6QuickTest_DIR)
      CMake Warning at qtbase/lib/cmake/Qt6/Qt6Config.cmake:214 (message):
        Failed to find optional Qt component "QuickTest".  Expected Config file at
        "/home/qt/RTA/src-6.7.0/qtbase/lib/cmake/Qt6QuickTest/Qt6QuickTestConfig.cmake"
        does NOT existCall Stack (most recent call first):
        qtsensors/CMakeLists.txt:17 (find_package)-- Configuring submodule 'qtserialbus'", '-- Could NOT find Qt6Gui (missing: Qt6Gui_DIR)
      CMake Warning at qtbase/lib/cmake/Qt6/Qt6Config.cmake:214 (message):
        Failed to find optional Qt component "Gui".  Expected Config file at
        "/home/qt/RTA/src-6.7.0/qtbase/lib/cmake/Qt6Gui/Qt6GuiConfig.cmake" does
        NOT existCall Stack (most recent call first):
        qtserialbus/CMakeLists.txt:43 (find_package)
      -- Could NOT find Qt6Widgets (missing: Qt6Widgets_DIR)
      CMake Warning at qtbase/lib/cmake/Qt6/Qt6Config.cmake:214 (message):
        Failed to find optional Qt component "Widgets".  Expected Config file at
        "/home/qt/RTA/src-6.7.0/qtbase/lib/cmake/Qt6Widgets/Qt6WidgetsConfig.cmake"
        does NOT existCall Stack (most recent call first):
        qtserialbus/CMakeLists.txt:43 (find_package)-- Configuring submodule 'qtspeech'
      -- Could NOT find Qt6Multimedia (missing: Qt6Multimedia_DIR)
      CMake Error at qtspeech/CMakeLists.txt:16 (find_package):
        Found package configuration file:    /home/qt/RTA/src-6.7.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 "Multimedia".  Expected Config file at
        "/home/qt/RTA/src-6.7.0/qtbase/lib/cmake/Qt6Multimedia/Qt6MultimediaConfig.cmake"
        does NOT exist    Configuring with --debug-find-pkg=Qt6Multimedia 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!
      See also "/home/qt/RTA/src-6.7.0/CMakeFiles/CMakeOutput.log".
      See also "/home/qt/RTA/src-6.7.0/CMakeFiles/CMakeError.log"
      

      CmakeOutput and error log attached.

      Attachments

        1. 670_CMakeError.log
          14 kB
          Johanna Äijälä
        2. 670_CMakeOutput.log
          78 kB
          Johanna Äijälä

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              qtbuildsystem Qt Build System Team
              joaijala Johanna Äijälä
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes