diff options
author | Oswald Buddenhagen <oswald.buddenhagen@digia.com> | 2013-10-08 12:14:46 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-11 21:03:34 +0200 |
commit | 90c65880b0ddf07768931df66a0c421af4c287cd (patch) | |
tree | 02fef269e9cb585bce29885341b8087c732b9f0e /examples | |
parent | 9c5e63ceb3048503d1b0b87916aae011b9b79ccf (diff) |
skip gui-needing examples with -no-gui
Change-Id: I2413f14f0c2d9179868877615d6131bf4ca7ea16
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/gui/gui.pro | 2 | ||||
-rw-r--r-- | examples/qpa/qpa.pro | 2 | ||||
-rw-r--r-- | examples/qtconcurrent/qtconcurrent.pro | 5 |
3 files changed, 9 insertions, 0 deletions
diff --git a/examples/gui/gui.pro b/examples/gui/gui.pro index 8758a1ba95..5fb4241e74 100644 --- a/examples/gui/gui.pro +++ b/examples/gui/gui.pro @@ -1,3 +1,5 @@ +requires(qtHaveModule(gui)) + TEMPLATE = subdirs CONFIG += no_docs_target diff --git a/examples/qpa/qpa.pro b/examples/qpa/qpa.pro index 6f07e50fd8..27293482ef 100644 --- a/examples/qpa/qpa.pro +++ b/examples/qpa/qpa.pro @@ -1,2 +1,4 @@ +requires(qtHaveModule(gui)) + TEMPLATE = subdirs SUBDIRS = windows diff --git a/examples/qtconcurrent/qtconcurrent.pro b/examples/qtconcurrent/qtconcurrent.pro index 1df6f2d8cf..6e4e5f0f16 100644 --- a/examples/qtconcurrent/qtconcurrent.pro +++ b/examples/qtconcurrent/qtconcurrent.pro @@ -10,6 +10,11 @@ SUBDIRS = imagescaling \ SUBDIRS += progressdialog } +!qtHaveModule(gui) { + SUBDIRS -= \ + map +} + !qtHaveModule(widgets) { SUBDIRS -= \ imagescaling \ |