Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.7.0 FF
-
macOS11 x64
macOS12 x64
-
-
c700597cf (dev)
Description
Install Qt 6.7.0 iOS snapshot, configure example linguist/i18n:
/Users/qt/RTA/Qt_6.7.0/6.7.0/ios/bin/qt-cmake -S /Users/qt/RTA/Qt_6.7.0/Examples/Qt-6.7.0/linguist/i18n -B /Users/qt/RTA/Qt_6.7.0/Examples/Qt-6.7.0/linguist/i18n/bld_ios -DCMAKE_OSX_SYSROOT=iphonesimulator
fails:
CMake Error in CMakeLists.txt: -- The CXX compiler identification is AppleClang 13.0.0.13000029 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /Applications/Xcode13.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found ZLIB: /Applications/Xcode13.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/lib/libz.tbd (found version "1.2.11") -- Found WrapSystemZLIB: TRUE -- Using system ZLIB. -- Found WrapZLIB: TRUE -- Performing Test HAVE_STDATOMIC -- Performing Test HAVE_STDATOMIC - Success -- Found WrapAtomic: TRUE -- Looking for backtrace -- Looking for backtrace - found -- backtrace facility detected in default set of libraries -- Found Backtrace: /Applications/Xcode13.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/include -- Using Qt bundled PCRE2. -- Found WrapPCRE2: TRUE -- Performing Test HAVE_GETTIME -- Performing Test HAVE_GETTIME - Success -- Performing Test HAVE_SHM_OPEN_SHM_UNLINK -- Performing Test HAVE_SHM_OPEN_SHM_UNLINK - Success -- Found WrapRt: TRUE -- Performing Test HAVE_EGL -- Performing Test HAVE_EGL - Failed -- Could NOT find EGL (missing: EGL_INCLUDE_DIR HAVE_EGL EGL_LIBRARY) -- Performing Test HAVE_GLESv2 -- Performing Test HAVE_GLESv2 - Success -- Found GLESv2: /Applications/Xcode13.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/System/Library/Frameworks/OpenGLES.framework -- Using Qt bundled PNG. -- Found WrapPNG: TRUE -- Using Qt bundled Harfbuzz. -- Found WrapHarfbuzz: TRUE -- Using Qt bundled Freetype. -- Found WrapFreetype: TRUE -- Using Qt bundled Jpeg. -- Found WrapJpeg: TRUE -- Found AVFoundation: /Applications/Xcode13.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/System/Library/Frameworks/AVFoundation.framework CMake Warning at /Users/qt/RTA/Qt_6.7.0/6.7.0/ios/lib/cmake/Qt6/QtPublicAppleHelpers.cmake:287 (message): No organization bundle identifier prefix could be retrieved from Xcode preferences. This can lead to code signing issues due to a non-unique bundle identifier. Please set up an organization prefix by creating a new project within Xcode, or consider providing a custom bundle identifier by specifying the MACOSX_BUNDLE_GUI_IDENTIFIER or XCODE_ATTRIBUTE_PRODUCT_BUNDLE_IDENTIFIER property. Call Stack (most recent call first): /Users/qt/RTA/Qt_6.7.0/6.7.0/ios/lib/cmake/Qt6/QtPublicAppleHelpers.cmake:444 (_qt_internal_get_default_apple_bundle_identifier) /Users/qt/RTA/Qt_6.7.0/6.7.0/ios/lib/cmake/Qt6/QtPublicAppleHelpers.cmake:692 (_qt_internal_set_apple_bundle_identifier) /Users/qt/RTA/Qt_6.7.0/6.7.0/ios/lib/cmake/Qt6/QtPublicAppleHelpers.cmake:700 (_qt_internal_finalize_apple_app) /Users/qt/RTA/Qt_6.7.0/6.7.0/ios/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:673 (_qt_internal_finalize_ios_app) /Users/qt/RTA/Qt_6.7.0/6.7.0/ios/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:757 (_qt_internal_finalize_executable) /Users/qt/RTA/Qt_6.7.0/6.7.0/ios/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:590:EVAL:1 (qt6_finalize_target) CMakeLists.txt:DEFERRED -- Configuring done -- Generating done CMake Error in CMakeLists.txt: The custom command generating /Users/qt/RTA/Qt_6.7.0/Examples/Qt-6.7.0/linguist/i18n/bld_ios/i18n_zh.qm is attached to multiple targets: i18n i18n_lrelease but none of these is a common dependency of the other(s). This is not allowed by the Xcode "new build system". CMake Generate step failed. Build files cannot be regenerated correctly.
Same with qml/qml-i18n.
Both examples work with Qt 6.6.0 beta4 binaries.