diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2017-03-02 11:31:30 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2017-03-06 14:16:13 +0000 |
commit | a170c974a53bde5c6027d3cb25311b819678c546 (patch) | |
tree | ca0f7bc080abd1984c877396a3fa9278439a8832 /examples | |
parent | c925400bdecd94c7eac65a7e31aa4f8fd010bb5b (diff) |
Fix building of various examples and tools with -no-feature-process
We should not check for platforms, but rather for features. Also, if
dbus is available it doesn't automatically mean that QProcess is.
Change-Id: I27ef5863fcb107cca1aa47abba95b734962adc33
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/dbus/dbus.pro | 2 | ||||
-rw-r--r-- | examples/network/network.pro | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/examples/dbus/dbus.pro b/examples/dbus/dbus.pro index afeb1de0d5..1b2164c4ae 100644 --- a/examples/dbus/dbus.pro +++ b/examples/dbus/dbus.pro @@ -4,7 +4,7 @@ TEMPLATE = subdirs SUBDIRS = listnames \ pingpong -!uikit: SUBDIRS += complexpingpong +qtConfig(process): SUBDIRS += complexpingpong qtHaveModule(widgets) { SUBDIRS += chat \ diff --git a/examples/network/network.pro b/examples/network/network.pro index ed46ad3588..8334165ed9 100644 --- a/examples/network/network.pro +++ b/examples/network/network.pro @@ -20,8 +20,7 @@ qtHaveModule(widgets) { multicastsender qtConfig(bearermanagement) { - # no QProcess - !vxworks:!qnx:!winrt:!integrity:!uikit: SUBDIRS += network-chat + qtConfig(process): SUBDIRS += network-chat SUBDIRS += \ bearermonitor \ |