summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2017-03-02 13:25:04 +0100
committerUlf Hermann <ulf.hermann@qt.io>2017-09-12 14:23:15 +0000
commit4cb8667d20ff9f4af1451c54560ea864630f49b9 (patch)
tree800c187243f86e5e655c261ff895f519ffe43bb2 /examples
parent1ace238ce0347857a5ba55d6fa30ba81fed204b9 (diff)
Fix problems when building with -no-feature-process
Guard the QProcess includes, modernize some ifdefs, exclude tests and examples that don't work without processes, and use QT_CONFIG(process) rather than QT_BOOTSTRAPPED as discriminator where we are actually checking for QProcess support. Also, don't try to build linguist and designer without QProcess. Change-Id: I4e1c7485a96ff02f2f6241113add35e44dc54b1d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/examples.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/examples.pro b/examples/examples.pro
index 69365d18d..0300e3c04 100644
--- a/examples/examples.pro
+++ b/examples/examples.pro
@@ -1,4 +1,4 @@
TEMPLATE = subdirs
qtHaveModule(widgets): SUBDIRS += help designer linguist uitools assistant
-winrt: SUBDIRS -= assistant designer
+!qtConfig(process): SUBDIRS -= assistant designer