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
1b4ea4a1d8
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>
This commit is contained in:
parent
d38b29bfa6
commit
36c864729a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user