Fix build with -no-gui on macOS
Some directories that depend on QtGui were being included without the appropriate check for qtHaveModule(gui). Change-Id: I7c348c74464d44cbd35a027f188f8a23bb2021d9 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>bb10
parent
cc7444eb65
commit
47bb74fd15
|
|
@ -9,7 +9,7 @@ SUBDIRS = lib \
|
|||
tst.depends += almostplugin
|
||||
SUBDIRS += almostplugin
|
||||
}
|
||||
macos:qtConfig(private_tests) {
|
||||
macos:qtConfig(private_tests):qtHaveModule(gui) {
|
||||
tst.depends += machtest
|
||||
SUBDIRS += machtest
|
||||
}
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ winrt|!qtHaveModule(gui)|!qtConfig(accessibility): SUBDIRS -= qaccessibility
|
|||
|
||||
!qtConfig(process): SUBDIRS -= qprocess_and_guieventloop
|
||||
|
||||
!mac: SUBDIRS -= \
|
||||
!macos|!qtHaveModule(gui): SUBDIRS -= \
|
||||
macgui \
|
||||
macnativeevents \
|
||||
macplist \
|
||||
|
|
|
|||
Loading…
Reference in New Issue