diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-11-05 20:08:24 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-11-07 19:33:37 +0100 |
commit | 36c864729a2b05d297850291f9fe281411945f5e (patch) | |
tree | 1874d4887396e2728011dc04774e1687fdbd2742 | |
parent | d38b29bfa692d0b52e6c195050a68201f2674577 (diff) |
CMake: Fix iOS platform plugin not being a default plugin
It used to be a default plugin always due to a bug in the default
plugin logic, but after the fix in
1b4ea4a1d826244c2711e1a5238da6440ec1b1c3
it stopped being the default one. Fix it by checking for the
QT_QPA_DEFAULT_PLATFORM variable.
Task-number: QTBUG-88201
Change-Id: I39caacf90ae7c6f67d2a89472d99346d7f811840
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
-rw-r--r-- | src/plugins/platforms/ios/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/platforms/ios/CMakeLists.txt b/src/plugins/platforms/ios/CMakeLists.txt index e238cf70fa..aef8c6f522 100644 --- a/src/plugins/platforms/ios/CMakeLists.txt +++ b/src/plugins/platforms/ios/CMakeLists.txt @@ -6,6 +6,7 @@ qt_internal_add_plugin(QIOSIntegrationPlugin OUTPUT_NAME qios + DEFAULT_IF ${QT_QPA_DEFAULT_PLATFORM} MATCHES ios # special case TYPE platforms SOURCES plugin.mm |