diff options
| author | Alexandru Croitor <alexandru.croitor@qt.io> | 2022-08-15 17:24:41 +0200 |
|---|---|---|
| committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2022-08-16 15:02:22 +0200 |
| commit | e38956e4f754ef8faa2ee4e76b787d71c773dcdb (patch) | |
| tree | 80328b897f3902787bc9fbae45408b6c77a5e13d /src/plugins/platforms/wasm/qwasmwindowstack.cpp | |
| parent | 0ed89870788f28daf1504a6204343d6b158b2cf3 (diff) | |
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 9daeb6fe9d35b10ed739ea0a0566533524ffd532
Amends 5574aa986b69277881fe5fc694d97514c668024f
Pick-to: 6.3 6.4
Fixes: QTBUG-102053
Change-Id: Ic4ea3b9e11c21ae535d6544cbed3670f9db44e72
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/plugins/platforms/wasm/qwasmwindowstack.cpp')
0 files changed, 0 insertions, 0 deletions
