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

[FTBFS] CMake: failure to configure qtdeclarative: could not find Qt6QmlIntegrationTargets.cmake

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.8
    • Build System: CMake
    • None

    Description

      Running:

      ../qtbase/libexec/qt-cmake-private $srcdir
      

      Produces several times:

      CMake Error at /home/tjmaciei/obj/qt/qt6/qtbase/lib/cmake/Qt6QmlIntegration/Qt6QmlIntegrationConfig.cmake:52 (include):
        include could not find requested file:
      
          /home/tjmaciei/obj/qt/qt6/qtbase/lib/cmake/Qt6QmlIntegration/Qt6QmlIntegrationTargets.cmake
      Call Stack (most recent call first):
        /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
        /home/tjmaciei/src/qt/qt6/qtbase/cmake/QtPublicDependencyHelpers.cmake:111 (find_dependency)
        /home/tjmaciei/obj/qt/qt6/qtbase/lib/cmake/Qt6Qml/Qt6QmlDependencies.cmake:39 (_qt_internal_find_qt_dependencies)
        /home/tjmaciei/obj/qt/qt6/qtbase/lib/cmake/Qt6Qml/Qt6QmlConfig.cmake:41 (include)
        /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
        /home/tjmaciei/src/qt/qt6/qtbase/cmake/QtPublicDependencyHelpers.cmake:111 (find_dependency)
        /home/tjmaciei/obj/qt/qt6/qtbase/lib/cmake/Qt6Quick/Qt6QuickDependencies.cmake:39 (_qt_internal_find_qt_dependencies)
        /home/tjmaciei/obj/qt/qt6/qtbase/lib/cmake/Qt6Quick/Qt6QuickConfig.cmake:40 (include)
        /home/tjmaciei/obj/qt/qt6/qtbase/lib/cmake/Qt6/Qt6Config.cmake:164 (find_package)
        tests/manual/quickcontrols/imagine/musicplayer/CMakeLists.txt:15 (find_package)
      

      The file it's searching for does indeed not exist.

      Full CMake expand-log attached (233 MB when unpacked).

      This does not happen in release mode.

      Attachments

        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
              thiago Thiago Macieira
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes