qt5base-lts/mkspecs/features/mac
Alexandru Croitor e38956e4f7 qmake: Fix non-Xcode asset catalog handling for iOS simulator
If an iOS project was built with qmake using the Makefile generator
instead of the Xcode generator,
so -spec macx-ios-clang, and not -spec macx-xcode,

Asset catalog processing failed with an actool error like
 Unknown platform: "ios-simulator"

This is because we used the deployment identifier (which is meant for
creation of the -mios-simulator-version-min flag) to pass a value
to actool's -platform option, rather than the sdk name.

Introduce a new variable called platform_identifier, which will be set
to the currently processed macOS/iOS sdk name (e.g. macosx,
iphonesimulator, iphoneos).

Use it when processing asset catalogs using the Makefile generator.

Relates to 9daeb6fe9d
Amends 5574aa986b

Pick-to: 6.3 6.4
Fixes: QTBUG-102053
Change-Id: Ic4ea3b9e11c21ae535d6544cbed3670f9db44e72
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
2022-08-16 15:02:22 +02:00
..
unsupported
asset_catalogs.prf qmake: Fix non-Xcode asset catalog handling for iOS simulator 2022-08-16 15:02:22 +02:00
default_post.prf qmake: Fix non-Xcode asset catalog handling for iOS simulator 2022-08-16 15:02:22 +02:00
default_pre.prf Fix build of applications on iOS 2018-05-13 08:48:53 +00:00
mac.prf Fix resolution of QMAKE_INFO_PLIST for non-bundle artifacts 2017-10-23 13:50:45 +00:00
no_warn_empty_obj_files.prf macOS: Prevent warnings about object files without any symbols 2019-09-25 15:39:02 +02:00
objective_c.prf unset OBJECTIVE_SOURCES and QMAKE_OBJECTIVE_CFLAGS after absorbing them 2016-10-25 17:49:49 +00:00
rez.prf
sdk.mk qmake: Ignore stderr when determining the macOS SDK version 2022-03-29 14:56:15 +02:00
sdk.prf Fix determination of OpenGL include paths on macOS, take 3 2019-04-27 07:32:53 +00:00
toolchain.prf fix QMAKE_DEFAULT_*DIRS resolution with apple SDK, take 2 2016-10-16 00:12:11 +00:00