skip gui-needing examples with -no-gui

Change-Id: I2413f14f0c2d9179868877615d6131bf4ca7ea16
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
This commit is contained in:
Oswald Buddenhagen 2013-10-08 12:14:46 +02:00 committed by The Qt Project
parent 9c5e63ceb3
commit 90c65880b0
3 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,5 @@
requires(qtHaveModule(gui))
TEMPLATE = subdirs
CONFIG += no_docs_target

View File

@ -1,2 +1,4 @@
requires(qtHaveModule(gui))
TEMPLATE = subdirs
SUBDIRS = windows

View File

@ -10,6 +10,11 @@ SUBDIRS = imagescaling \
SUBDIRS += progressdialog
}
!qtHaveModule(gui) {
SUBDIRS -= \
map
}
!qtHaveModule(widgets) {
SUBDIRS -= \
imagescaling \