summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/gui/gui.pro2
-rw-r--r--examples/qpa/qpa.pro2
-rw-r--r--examples/qtconcurrent/qtconcurrent.pro5
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 \