From e936561a164ce582785eafcfa70ed2924f7bc954 Mon Sep 17 00:00:00 2001 From: Richard Moe Gustavsen Date: Sun, 11 Nov 2012 10:22:20 +0100 Subject: iOS: Add Q_IMPORT_PLUGIN(QIOSIntegrationPlugin) into the plugin itself MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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ø --- src/plugins/platforms/ios/main.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3