mirror of https://github.com/qt/qtbase.git
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>
This commit is contained in:
parent
c925400bde
commit
a170c974a5
|
@ -4,7 +4,7 @@ TEMPLATE = subdirs
|
|||
SUBDIRS = listnames \
|
||||
pingpong
|
||||
|
||||
!uikit: SUBDIRS += complexpingpong
|
||||
qtConfig(process): SUBDIRS += complexpingpong
|
||||
|
||||
qtHaveModule(widgets) {
|
||||
SUBDIRS += chat \
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -23,6 +23,7 @@ uikit: SUBDIRS = corelib gui
|
|||
|
||||
wince: SUBDIRS -= printsupport
|
||||
cross_compile: SUBDIRS -= tools cmake installed_cmake
|
||||
else:!qtConfig(process): SUBDIRS -= tools
|
||||
!qtHaveModule(opengl): SUBDIRS -= opengl
|
||||
!qtHaveModule(gui): SUBDIRS -= gui
|
||||
!qtHaveModule(widgets): SUBDIRS -= widgets
|
||||
|
|
|
@ -29,3 +29,8 @@ SUBDIRS+=\
|
|||
!qtConfig(private_tests): SUBDIRS -= \
|
||||
qdbusmarshall \
|
||||
|
||||
!qtConfig(process): SUBDIRS -= \
|
||||
qdbusabstractadaptor \
|
||||
qdbusabstractinterface \
|
||||
qdbusinterface \
|
||||
qdbusmarshall
|
||||
|
|
Loading…
Reference in New Issue