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

[REG 6.7.1-> 6.7.0] no-gui (-DFEATURE_gui=OFF) build fails, qtspeech

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.5.6, 6.7.1, 6.8.0 FF
    • 6.7.1
    • QPA: Wayland
    • 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

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

          Activity

            People

              inho Inho Lee
              joaijala Johanna Äijälä
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes