diff options
author | Ian Dean <ian@mediator-software.com> | 2012-07-18 19:26:39 (GMT) |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-25 00:11:47 (GMT) |
commit | c13df9f2147e85e104ac105f975ef87914c908e9 (patch) | |
tree | 6ee265e74c4645f02806cf19654a7a0f8360e622 /src/plugins | |
parent | c1e26903af2938cfcd75c7c6f6325b012cd9ccee (diff) | |
download | Qt-c13df9f2147e85e104ac105f975ef87914c908e9.zip Qt-c13df9f2147e85e104ac105f975ef87914c908e9.tar.gz Qt-c13df9f2147e85e104ac105f975ef87914c908e9.tar.bz2 |
Removed existing iOS mkspecs. Added Qt5 iOS mkspecs to unsupported.
Change-Id: I504d987abd092d25c68f7209cb5787a01d6fac50
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/platforms/uikit/examples/flickrdemo/main.mm | 11 | ||||
-rw-r--r-- | src/plugins/platforms/uikit/examples/qmltest/main.mm | 11 |
2 files changed, 20 insertions, 2 deletions
diff --git a/src/plugins/platforms/uikit/examples/flickrdemo/main.mm b/src/plugins/platforms/uikit/examples/flickrdemo/main.mm index e64cfa7..3ab2610 100644 --- a/src/plugins/platforms/uikit/examples/flickrdemo/main.mm +++ b/src/plugins/platforms/uikit/examples/flickrdemo/main.mm @@ -65,7 +65,16 @@ int main(int argc, char *argv[]) { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; - QApplication app(argc, argv); + // force uikit platform plugin + QByteArray platform("-platform"); + QByteArray uikit("uikit"); + int ac = 3; + char *av[3]; + av[0] = argv[0]; + av[1] = platform.data(); + av[2] = uikit.data(); + + QApplication app(ac, av); QmlApplicationViewer viewer; viewer.setOrientation(QmlApplicationViewer::ScreenOrientationAuto); viewer.engine()->setOfflineStoragePath(documentsDirectory()); diff --git a/src/plugins/platforms/uikit/examples/qmltest/main.mm b/src/plugins/platforms/uikit/examples/qmltest/main.mm index c56d7c5..f951a4d 100644 --- a/src/plugins/platforms/uikit/examples/qmltest/main.mm +++ b/src/plugins/platforms/uikit/examples/qmltest/main.mm @@ -65,7 +65,16 @@ int main(int argc, char *argv[]) { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; - QApplication app(argc, argv); + // force uikit platform plugin + QByteArray platform("-platform"); + QByteArray uikit("uikit"); + int ac = 3; + char *av[3]; + av[0] = argv[0]; + av[1] = platform.data(); + av[2] = uikit.data(); + + QApplication app(ac, av); QmlApplicationViewer viewer; viewer.setOrientation(QmlApplicationViewer::ScreenOrientationAuto); viewer.engine()->setOfflineStoragePath(documentsDirectory()); |