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

qtimageformats global promotion issues in static builds.

    XMLWordPrintable

Details

    • All
    • d2e85cede (dev), 5da0b7624 (6.8)

    Description

      I think I opened another older issue with a similar problem but since the global promotion code changed I just open another issues. 

      Error:

       

      CMake Error at D:/installed/x64-windows-static/share/Qt6/QtPublicTargetHelpers.cmake:219 (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):
       D:/installed/x64-windows-static/share/Qt6/QtPublicWalkLibsHelpers.cmake:231 (__qt_internal_promote_target_to_global)
       D:/installed/x64-windows-static/share/Qt6/QtPublicWalkLibsHelpers.cmake:205 (__qt_internal_walk_libs)
       D:/installed/x64-windows-static/share/Qt6/QtPublicWalkLibsHelpers.cmake:180 (__qt_internal_walk_libs)
       D:/installed/x64-windows-static/share/Qt6/QtFindPackageHelpers.cmake:12 (__qt_internal_walk_libs)
       D:/installed/x64-windows-static/share/Qt6/QtFindPackageHelpers.cmake:173 (qt_find_package_promote_targets_to_global_scope)
       src/imageformats/configure.cmake:18 (qt_find_package)
       src/plugins/imageformats/CMakeLists.txt:9 (include)
      
      CMake Error at D:/installed/x64-windows-static/share/Qt6/QtPublicTargetHelpers.cmake:219 (set_property):
       Attempt to promote imported target "JPEG::JPEG" to global scope (by setting
       IMPORTED_GLOBAL) which is not built in this directory.
      Call Stack (most recent call first):
       D:/installed/x64-windows-static/share/Qt6/QtPublicWalkLibsHelpers.cmake:231 (__qt_internal_promote_target_to_global)
       D:/installed/x64-windows-static/share/Qt6/QtFindPackageHelpers.cmake:12 (__qt_internal_walk_libs)
       D:/installed/x64-windows-static/share/Qt6/QtFindPackageHelpers.cmake:173 (qt_find_package_promote_targets_to_global_scope)
       src/imageformats/configure.cmake:18 (qt_find_package)
       src/plugins/imageformats/CMakeLists.txt:9 (include)
      
      CMake Error at D:/installed/x64-windows-static/share/Qt6/QtPublicTargetHelpers.cmake:219 (set_property):
       Attempt to promote imported target "ZLIB::ZLIB" to global scope (by setting
       IMPORTED_GLOBAL) which is not built in this directory.
      Call Stack (most recent call first):
       D:/installed/x64-windows-static/share/Qt6/QtPublicWalkLibsHelpers.cmake:231 (__qt_internal_promote_target_to_global)
       D:/installed/x64-windows-static/share/Qt6/QtFindPackageHelpers.cmake:12 (__qt_internal_walk_libs)
       D:/installed/x64-windows-static/share/Qt6/QtFindPackageHelpers.cmake:173 (qt_find_package_promote_targets_to_global_scope)
       src/imageformats/configure.cmake:18 (qt_find_package)
       src/plugins/imageformats/CMakeLists.txt:9 (include)
      

       

      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
              neumann-a Alexander Neumann
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews