diff --git a/examples/gui/gui.pro b/examples/gui/gui.pro index 8758a1ba952..5fb4241e74e 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 6f07e50fd8e..27293482ef8 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 1df6f2d8cfb..6e4e5f0f162 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 \