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

Yocto SDK should not ship foreign arch Qt6FooToolsConfig.cmake files without shipping the binaries as well

    XMLWordPrintable

Details

    • Linux/Yocto
    • 9334145f37 (yocto/meta-qt6/dev) 8870361c97 (yocto/meta-qt6/6.3) 4ffc6cb405 (yocto/meta-qt6/6.2) 4ffc6cb405 (yocto/meta-qt6/lts-6.2) 8870361c97 (yocto/meta-qt6/6.3.1) 4ffc6cb405 (yocto/meta-qt6/lts-6.2.5) 8870361c97 (yocto/meta-qt6/6.3.2)

    Description

      We ship the foreign arch CMake files in the SDK, but not the actual binaries.

      If at any point the foreign CMake files are picked up by find_package, CMake will error out saying the referenced binaries don't exist on disk.

      I was told we don't ship the binaries in the SDK because it doesn't make sense to have them there, they are only included in the image, which makes sense.

      But then we shouldn't ship the CMake files either.

      $ fd tracegen
      sysroots/x86_64-pokysdk-linux/usr/libexec/tracegen
      
      $ fd Qt6CoreConfig.cmake
      sysroots/x86_64-pokysdk-linux/usr/lib/cmake/Qt6Core/Qt6CoreConfig.cmake
      sysroots/skylake-64-poky-linux/usr/lib/cmake/Qt6Core/Qt6CoreConfig.cmake
      

      Attachments

        Issue Links

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

          Activity

            People

              sapiippo Samuli Piippo
              alexandru.croitor Alexandru Croitor
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes