summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/platforms.pro
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@digia.com>2012-11-01 16:11:35 +0100
committerTor Arne Vestbø <tor.arne.vestbo@digia.com>2013-02-27 13:07:23 +0100
commite5111d5e021e8168fa9deb00abae5c403a5313e8 (patch)
tree1e94939eca3d13787326a6d21457f6f86c0b77da /src/plugins/platforms/platforms.pro
parenta6286039babdd3680124c9449d14911ed29b2295 (diff)
iOS: Build ios platform plugin when appropriate
Defining QT_QPA_DEFAULT_PLATFORM_NAME in qplatformdefs.h is not neccecary, as qconfig.h will already have this define written by configure. Change-Id: I89d9191533f6b4e6bfd5eade6cc0dced02b50f81 Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
Diffstat (limited to 'src/plugins/platforms/platforms.pro')
-rw-r--r--src/plugins/platforms/platforms.pro5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/platforms/platforms.pro b/src/plugins/platforms/platforms.pro
index 173757568f..a60a3626fa 100644
--- a/src/plugins/platforms/platforms.pro
+++ b/src/plugins/platforms/platforms.pro
@@ -6,7 +6,10 @@ contains(QT_CONFIG, xcb) {
SUBDIRS += xcb
}
-mac:!ios: SUBDIRS += cocoa
+mac {
+ ios: SUBDIRS += ios
+ else: SUBDIRS += cocoa
+}
win32: SUBDIRS += windows