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

CMake error on static qtwayland build

XMLWordPrintable

    • Linux/Yocto
    • 4af0e67e9 (dev), ce5fdc2f1 (6.5), 63971b603 (dev), 4ad977719 (6.5)

      Static build of qtwayland fails with

      | CMake Error at /home/sapiippo/boot2qt/build-imx8mm-lpddr4-evk/tmp/work/cortexa53-crypto-poky-linux/qtwayland/6.6.0-r0/recipe-sysroot/usr/lib/cmake/Qt6/QtPublicTargetHelpers.cmake:260 (set_property):
      |   Attempt to promote imported target "Wayland::Client" to global scope (by
      |   setting IMPORTED_GLOBAL) which is not built in this directory.
      | Call Stack (most recent call first):
      |   /home/sapiippo/boot2qt/build-imx8mm-lpddr4-evk/tmp/work/cortexa53-crypto-poky-linux/qtwayland/6.6.0-r0/recipe-sysroot/usr/lib/cmake/Qt6/QtFindPackageHelpers.cmake:208 (__qt_internal_promote_target_to_global)
      |   src/CMakeLists.txt:7 (qt_find_package)
      |
      |
      | CMake Error at /home/sapiippo/boot2qt/build-imx8mm-lpddr4-evk/tmp/work/cortexa53-crypto-poky-linux/qtwayland/6.6.0-r0/recipe-sysroot/usr/lib/cmake/Qt6/QtPublicTargetHelpers.cmake:260 (set_property):
      |   Attempt to promote imported target "Wayland::Server" to global scope (by
      |   setting IMPORTED_GLOBAL) which is not built in this directory.
      | Call Stack (most recent call first):
      |   /home/sapiippo/boot2qt/build-imx8mm-lpddr4-evk/tmp/work/cortexa53-crypto-poky-linux/qtwayland/6.6.0-r0/recipe-sysroot/usr/lib/cmake/Qt6/QtFindPackageHelpers.cmake:208 (__qt_internal_promote_target_to_global)
      |   src/CMakeLists.txt:7 (qt_find_package) 

        For Gerrit Dashboard: QTBUG-113560
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes