summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@digia.com>2012-11-11 10:22:20 +0100
committerTor Arne Vestbø <tor.arne.vestbo@digia.com>2013-02-27 23:55:41 +0100
commite936561a164ce582785eafcfa70ed2924f7bc954 (patch)
tree595d557d49f04ce7b6367cbc106050ffc06ece71
parent3bc6d7470a88bf1da12aa768c9527fe08d52757a (diff)
iOS: Add Q_IMPORT_PLUGIN(QIOSIntegrationPlugin) into the plugin itself
Since the plugin will always be linked in statically, we add this necessary registration code into the plugin itself rather than putting this burden onto the client application. Change-Id: I8691d8080e41bdf0644bb960b5c7102e79a0f0d5 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
-rw-r--r--src/plugins/platforms/ios/main.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/ios/main.mm b/src/plugins/platforms/ios/main.mm
index b09fbce1f4..6a04770e3e 100644
--- a/src/plugins/platforms/ios/main.mm
+++ b/src/plugins/platforms/ios/main.mm
@@ -66,4 +66,4 @@ QT_END_NAMESPACE
#include "main.moc"
-
+Q_IMPORT_PLUGIN(QIOSIntegrationPlugin)