Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.2.1
-
None
-
linux conan vulkan odbc
-
-
d2e85cede (dev), 5da0b7624 (6.8)
Description
When building qt with vulkan and odbc enabled on linux, it fails with:
CMake Error at qtbase/cmake/QtPublicTargetHelpers.cmake:257 (set_property): Attempt to promote imported target "CONAN_LIB::Iconv_iconv" to global scope (by setting IMPORTED_GLOBAL) which is not built in this directory. Call Stack (most recent call first): qtbase/cmake/QtPublicWalkLibsHelpers.cmake:238 (__qt_internal_promote_target_to_global) qtbase/cmake/QtPublicWalkLibsHelpers.cmake:187 (__qt_internal_walk_libs) qtbase/cmake/QtPublicWalkLibsHelpers.cmake:212 (__qt_internal_walk_libs) qtbase/cmake/QtPublicWalkLibsHelpers.cmake:187 (__qt_internal_walk_libs) qtbase/cmake/QtFindPackageHelpers.cmake:12 (__qt_internal_walk_libs) qtbase/cmake/QtFindPackageHelpers.cmake:181 (qt_find_package_promote_targets_to_global_scope) qtbase/src/plugins/sqldrivers/configure.cmake:17 (qt_find_package) qtbase/src/plugins/sqldrivers/CMakeLists.txt:35 (include) CMake Error at qtbase/cmake/QtPublicTargetHelpers.cmake:257 (set_property): Attempt to promote imported target "CONAN_LIB::Iconv_charset" to global scope (by setting IMPORTED_GLOBAL) which is not built in this directory. Call Stack (most recent call first): qtbase/cmake/QtPublicWalkLibsHelpers.cmake:238 (__qt_internal_promote_target_to_global) qtbase/cmake/QtPublicWalkLibsHelpers.cmake:187 (__qt_internal_walk_libs) qtbase/cmake/QtPublicWalkLibsHelpers.cmake:212 (__qt_internal_walk_libs) qtbase/cmake/QtPublicWalkLibsHelpers.cmake:187 (__qt_internal_walk_libs) qtbase/cmake/QtFindPackageHelpers.cmake:12 (__qt_internal_walk_libs) qtbase/cmake/QtFindPackageHelpers.cmake:181 (qt_find_package_promote_targets_to_global_scope) qtbase/src/plugins/sqldrivers/configure.cmake:17 (qt_find_package) qtbase/src/plugins/sqldrivers/CMakeLists.txt:35 (include) CMake Error at qtbase/cmake/QtPublicTargetHelpers.cmake:257 (set_property): Attempt to promote imported target "Iconv::Iconv" to global scope (by setting IMPORTED_GLOBAL) which is not built in this directory. Call Stack (most recent call first): qtbase/cmake/QtPublicWalkLibsHelpers.cmake:238 (__qt_internal_promote_target_to_global) qtbase/cmake/QtPublicWalkLibsHelpers.cmake:212 (__qt_internal_walk_libs) qtbase/cmake/QtPublicWalkLibsHelpers.cmake:187 (__qt_internal_walk_libs) qtbase/cmake/QtFindPackageHelpers.cmake:12 (__qt_internal_walk_libs) qtbase/cmake/QtFindPackageHelpers.cmake:181 (qt_find_package_promote_targets_to_global_scope) qtbase/src/plugins/sqldrivers/configure.cmake:17 (qt_find_package) qtbase/src/plugins/sqldrivers/CMakeLists.txt:35 (include)
Full log available on https://github.com/eirikb/proof-of-conan/runs/4373070720?check_suite_focus=true#step:8:2107
This looks like QTBUG-94356
Attachments
Issue Links
- relates to
-
QTBUG-89204 qtimageformats fails to configure during a static Windows build with target global promotion failures
- Closed
-
QTBUG-94356 fail to configure qt 6.1.1 on macos (with conan) due to ZLIB global promotion not happening
- Closed