Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.3.0
-
iOS 14,15, XCode 13.3.1
-
-
5b0e765ab0 (qt/qttools/dev) e3b004ef2e (qt/qttools/6.3) e3b004ef2e (qt/tqtc-qttools/6.3) 5b0e765ab0 (qt/tqtc-qttools/dev) e3b004ef2e (qt/qttools/6.3.1) e3b004ef2e (qt/tqtc-qttools/6.3.1) 5b0e765ab0 (qt/qttools/6.4) 5b0e765ab0 (qt/tqtc-qttools/6.4)
Description
Defining these in CMakeLists.txt fails in iOS.
This works fine in all other platforms.
qt_add_translations(foo "translations" TS_FILES ${MODEL_TS_FILES} QM_FILES_OUTPUT_VARIABLE qmfiles) qt_add_resources(foo "translations" PREFIX "/i18n" FILES ${qmfiles} BASE ${CMAKE_CURRENT_BINARY_DIR})
CMake error is output as below.
CMake Error in duck/tick/CMakeLists.txt:
The custom command generating
/Users/qtsupport/build-localist-Qt_6_3_0_for_iOS/duck/tick/tick_de.qm
is attached to multiple targets:
duck_tick_resources_3
duck_tick_lrelease
but none of these is a common dependency of the other(s). This is not
allowed by the Xcode "new build system".
Please use Qtbug103470.zip to reproduce the error.
Attachments
Issue Links
- is required for
-
QTBUG-95838 Improve experience of building iOS projects with CMake
- Closed
- relates to
-
QTBUG-103723 [iOS] CMake shader handling fails
- Closed