summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Gaist <samuel.gaist@edeltech.ch>2015-07-29 11:57:47 +0200
committerSimon Hausmann <simon.hausmann@theqtcompany.com>2015-07-30 11:46:07 +0000
commit1188dc7b9688ddc41ec77321497e36f6cd216e89 (patch)
tree611a958a664031625de7c75823de216a7767c58d
parent37b614abbfb35d06a57e5b0824249c3abd5640e3 (diff)
Fix qtsystem.pro to avoid build on unsupported platforms
Change-Id: I8cf0b5f08b9bd3ec91270d76015a0196879daa1d Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
-rw-r--r--qtsystems.pro22
1 files changed, 11 insertions, 11 deletions
diff --git a/qtsystems.pro b/qtsystems.pro
index 5ca72d2e..3a455fae 100644
--- a/qtsystems.pro
+++ b/qtsystems.pro
@@ -1,13 +1,13 @@
-!android: !ios: !blackberry {
- load(configure)
- qtCompileTest(gconf)
- qtCompileTest(bluez)
- qtCompileTest(udev)
- qtCompileTest(x11)
+requires(if(linux:!android)|if(win32:!winphone:!wince:!winrt)|osx)
- # FIXME: This causes tests to be installed (if examples are installed as well),
- # which is needed to run some tests because they are broken.
- CONFIG += ordered
+load(configure)
+qtCompileTest(gconf)
+qtCompileTest(bluez)
+qtCompileTest(udev)
+qtCompileTest(x11)
- load(qt_parts)
-}
+# FIXME: This causes tests to be installed (if examples are installed as well),
+# which is needed to run some tests because they are broken.
+CONFIG += ordered
+
+load(qt_parts)