Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.8.0, 6.8.1, 6.9.0 FF
Description
Install Qt 6.8.1iOS binaries and configure example widgets/itemviews/simpletreemodel:
/Users/qt/RTA/Qt_6.8.1/6.8.1/ios/bin/qt-cmake -S /Users/qt/RTA/Qt_6.8.1/Examples/Qt-6.8.1/widgets/itemviews/simpletreemodel -B /Users/qt/RTA/Qt_6.8.1/Examples/Qt-6.8.1/widgets/itemviews/simpletreemodel/bld_ios -DCMAKE_OSX_SYSROOT=iphonesimulator
-> fails:
-- Found WrapAtomic: TRUE -- Looking for backtrace -- Looking for backtrace - found -- backtrace facility detected in default set of libraries -- Found Backtrace: /Applications/Xcode14.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include -- Using Qt bundled PCRE2. -- Found WrapPCRE2: TRUE (found version "6.8.1") -- 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/Xcode14.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/System/Library/Frameworks/OpenGLES.framework -- Using Qt bundled PNG. -- Found WrapPNG: TRUE (found version "6.8.1") -- Using Qt bundled Harfbuzz. -- Found WrapHarfbuzz: TRUE (found version "6.8.1") -- Using Qt bundled Freetype. -- Found WrapFreetype: TRUE (found version "6.8.1") -- Using Qt bundled Jpeg. -- Found WrapJpeg: TRUE (found version "6.8.1") -- Found AVFoundation: /Applications/Xcode14.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/System/Library/Frameworks/AVFoundation.framework CMake Warning at /Users/qt/RTA/Qt_6.8.1/6.8.1/ios/lib/cmake/Qt6/QtPublicAppleHelpers.cmake:281 (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.8.1/6.8.1/ios/lib/cmake/Qt6/QtPublicAppleHelpers.cmake:438 (_qt_internal_get_default_apple_bundle_identifier) /Users/qt/RTA/Qt_6.8.1/6.8.1/ios/lib/cmake/Qt6/QtPublicAppleHelpers.cmake:978 (_qt_internal_set_apple_bundle_identifier) /Users/qt/RTA/Qt_6.8.1/6.8.1/ios/lib/cmake/Qt6/QtPublicAppleHelpers.cmake:994 (_qt_internal_finalize_apple_app) /Users/qt/RTA/Qt_6.8.1/6.8.1/ios/lib/cmake/Qt6/QtPublicAppleHelpers.cmake:984 (_qt_internal_finalize_ios_app) /Users/qt/RTA/Qt_6.8.1/6.8.1/ios/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:759 (_qt_internal_finalize_uikit_app) /Users/qt/RTA/Qt_6.8.1/6.8.1/ios/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:823 (_qt_internal_finalize_executable) /Users/qt/RTA/Qt_6.8.1/6.8.1/ios/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:861:EVAL:1 (qt6_finalize_target) CMakeLists.txt:DEFERRED CMake Warning at /Users/qt/RTA/Qt_6.8.1/6.8.1/ios/lib/cmake/Qt6/QtPublicAppleHelpers.cmake:281 (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.8.1/6.8.1/ios/lib/cmake/Qt6/QtPublicAppleHelpers.cmake:438 (_qt_internal_get_default_apple_bundle_identifier) /Users/qt/RTA/Qt_6.8.1/6.8.1/ios/lib/cmake/Qt6/QtPublicAppleHelpers.cmake:978 (_qt_internal_set_apple_bundle_identifier) /Users/qt/RTA/Qt_6.8.1/6.8.1/ios/lib/cmake/Qt6/QtPublicAppleHelpers.cmake:994 (_qt_internal_finalize_apple_app) /Users/qt/RTA/Qt_6.8.1/6.8.1/ios/lib/cmake/Qt6/QtPublicAppleHelpers.cmake:984 (_qt_internal_finalize_ios_app) /Users/qt/RTA/Qt_6.8.1/6.8.1/ios/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:759 (_qt_internal_finalize_uikit_app) /Users/qt/RTA/Qt_6.8.1/6.8.1/ios/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:823 (_qt_internal_finalize_executable) /Users/qt/RTA/Qt_6.8.1/6.8.1/ios/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:861:EVAL:1 (qt6_finalize_target) CMakeLists.txt:DEFERRED -- Configuring done (16.5s) -- Generating done (0.0s) CMake Error in CMakeLists.txt: The custom command generating /Users/qt/RTA/Qt_6.8.1/Examples/Qt-6.8.1/widgets/itemviews/simpletreemodel/bld_ios/.qt/rcc/qrc_simpletreemodel.cpp is attached to multiple targets: simpletreemodel simpletreemodel_tester 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.
Attachments
Issue Links
- relates to
-
QTBUG-122210 [REG 6.6.1->6.6.2] widgets/itemviews/editabletreemodel not compiling on iOS
- Closed
Gerrit Reviews
For Gerrit Dashboard: QTBUG-131631 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
616496,1 | CMake: Use a unique resource identifier in simpletreemodel example | dev | qt/qtbase | Status: NEW | 0 | 0 |