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

OpenXR feature breaks test builds

    XMLWordPrintable

Details

    • 82fac6f29 (dev), 8db0a12e8 (dev), 2a0d34373 (6.7), a6cb5512c (6.6), 543082016 (tqtc/lts-6.5)

    Description

      After https://codereview.qt-project.org/c/qt/qtquick3d/+/535738 Yocto builds fail when trying to configure tests build.

      | CMake Error at /home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/qtquick3d/6.8.0/recipe-sysroot/usr/lib/cmake/Qt6/QtFindWrapHelper.cmake:44 (message):
      |   Can't find cache variable QT_USE_BUNDLED_BundledOpenXR to decide whether to
      |   use bundled or system library.
      | Call Stack (most recent call first):
      |   cmake/FindWrapOpenXR.cmake:6 (qt_find_package_system_or_bundled)
      |   /home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/qtquick3d/6.8.0/recipe-sysroot-native/usr/share/cmake-3.28/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
      |   /home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/qtquick3d/6.8.0/recipe-sysroot/usr/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:36 (find_dependency)
      |   /home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/qtquick3d/6.8.0/image/usr/lib/cmake/Qt6Quick3DXr/Qt6Quick3DXrDependencies.cmake:30 (_qt_internal_find_third_party_dependencies)
      |   /home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/qtquick3d/6.8.0/image/usr/lib/cmake/Qt6Quick3DXr/Qt6Quick3DXrConfig.cmake:50 (include)
      |   /home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/qtquick3d/6.8.0/recipe-sysroot/usr/lib/cmake/Qt6/Qt6Config.cmake:174 (find_package)
      |   /home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/qtquick3d/6.8.0/image/usr/lib/cmake/Qt6BuildInternals/StandaloneTests/QtQuick3DTestsConfig.cmake:4 (find_package)
      |   /home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/qtquick3d/6.8.0/recipe-sysroot/usr/lib/cmake/Qt6/QtBuildRepoHelpers.cmake:506 (include)
      |   tests/CMakeLists.txt:10 (qt_build_tests)
      

       

      Also qt-cmake-standalone-test fails when using gcc build from online installer

       CMake Error at /home/sapiippo/Qt/6.8.0/gcc_64/lib/cmake/Qt6/QtPublicTargetHelpers.cmake:260 (set_property):
        Attempt to promote imported target "Qt6::PlatformModuleInternal" to global
        scope (by setting IMPORTED_GLOBAL) which is not built in this directory.
      Call Stack (most recent call first):
        /home/sapiippo/Qt/6.8.0/gcc_64/lib/cmake/Qt6/QtFindPackageHelpers.cmake:211 (__qt_internal_promote_target_to_global)
        /home/sapiippo/development/qt/qt5/qtquick3d/CMakeLists.txt:65 (qt_find_package)
      CMake Error at /home/sapiippo/Qt/6.8.0/gcc_64/lib/cmake/Qt6/QtPublicTargetHelpers.cmake:260 (set_property):
        Attempt to promote imported target "Threads::Threads" to global scope (by
        setting IMPORTED_GLOBAL) which is not built in this directory.
      Call Stack (most recent call first):
        /home/sapiippo/Qt/6.8.0/gcc_64/lib/cmake/Qt6/QtPublicWalkLibsHelpers.cmake:255 (__qt_internal_promote_target_to_global)
        /home/sapiippo/Qt/6.8.0/gcc_64/lib/cmake/Qt6/QtPublicWalkLibsHelpers.cmake:199 (__qt_internal_walk_libs)
        /home/sapiippo/Qt/6.8.0/gcc_64/lib/cmake/Qt6/QtPublicWalkLibsHelpers.cmake:199 (__qt_internal_walk_libs)
        /home/sapiippo/Qt/6.8.0/gcc_64/lib/cmake/Qt6/QtFindPackageHelpers.cmake:15 (__qt_internal_walk_libs)
        /home/sapiippo/Qt/6.8.0/gcc_64/lib/cmake/Qt6/QtFindPackageHelpers.cmake:212 (qt_find_package_promote_targets_to_global_scope)
        /home/sapiippo/development/qt/qt5/qtquick3d/CMakeLists.txt:65 (qt_find_package)
      CMake Error at /home/sapiippo/Qt/6.8.0/gcc_64/lib/cmake/Qt6/QtPublicTargetHelpers.cmake:260 (set_property):
        Attempt to promote imported target "Qt6::Platform" to global scope (by
        setting IMPORTED_GLOBAL) which is not built in this directory.
      Call Stack (most recent call first):
        /home/sapiippo/Qt/6.8.0/gcc_64/lib/cmake/Qt6/QtPublicWalkLibsHelpers.cmake:255 (__qt_internal_promote_target_to_global)
        /home/sapiippo/Qt/6.8.0/gcc_64/lib/cmake/Qt6/QtPublicWalkLibsHelpers.cmake:199 (__qt_internal_walk_libs)
        /home/sapiippo/Qt/6.8.0/gcc_64/lib/cmake/Qt6/QtFindPackageHelpers.cmake:15 (__qt_internal_walk_libs)
        /home/sapiippo/Qt/6.8.0/gcc_64/lib/cmake/Qt6/QtFindPackageHelpers.cmake:212 (qt_find_package_promote_targets_to_global_scope)
        /home/sapiippo/development/qt/qt5/qtquick3d/CMakeLists.txt:65 (qt_find_package) 

      Attachments

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

        Activity

          People

            semlanik Alexey Edelev
            sapiippo Samuli Piippo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: