summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/draganddrop/draganddrop.pro2
-rw-r--r--examples/embedded/embedded.pro2
-rw-r--r--examples/network/network.pro2
-rw-r--r--examples/opengl/opengl.pro2
-rw-r--r--examples/painting/painting.pro2
-rw-r--r--examples/richtext/richtext.pro2
-rw-r--r--src/plugins/iconengines/iconengines.pro2
-rw-r--r--tests/auto/auto.pro15
8 files changed, 15 insertions, 14 deletions
diff --git a/examples/draganddrop/draganddrop.pro b/examples/draganddrop/draganddrop.pro
index d87e6b2..99fecb0 100644
--- a/examples/draganddrop/draganddrop.pro
+++ b/examples/draganddrop/draganddrop.pro
@@ -1,3 +1,3 @@
TEMPLATE = subdirs
-SUBDIRS += delayedencoding
+!contains(QT_CONFIG, no-widgets): SUBDIRS += delayedencoding
QT+=widgets
diff --git a/examples/embedded/embedded.pro b/examples/embedded/embedded.pro
index 8749fdb..911fd5a 100644
--- a/examples/embedded/embedded.pro
+++ b/examples/embedded/embedded.pro
@@ -1,3 +1,3 @@
TEMPLATE = subdirs
-SUBDIRS += desktopservices embeddedsvgviewer fluidlauncher weatherinfo
+!contains(QT_CONFIG, no-widgets): SUBDIRS += desktopservices embeddedsvgviewer fluidlauncher weatherinfo
QT+=widgets
diff --git a/examples/network/network.pro b/examples/network/network.pro
index b4009da..6cf6c42 100644
--- a/examples/network/network.pro
+++ b/examples/network/network.pro
@@ -1,3 +1,3 @@
TEMPLATE = subdirs
-SUBDIRS += bearercloud
+!contains(QT_CONFIG, no-widgets): SUBDIRS += bearercloud
QT+=widgets
diff --git a/examples/opengl/opengl.pro b/examples/opengl/opengl.pro
index 1cd7df1..fd845b6 100644
--- a/examples/opengl/opengl.pro
+++ b/examples/opengl/opengl.pro
@@ -1,3 +1,3 @@
TEMPLATE = subdirs
-SUBDIRS += framebufferobject
+!contains(QT_CONFIG, no-widgets): SUBDIRS += framebufferobject
QT+=widgets
diff --git a/examples/painting/painting.pro b/examples/painting/painting.pro
index 518bf06..9b7e2cd 100644
--- a/examples/painting/painting.pro
+++ b/examples/painting/painting.pro
@@ -1,3 +1,3 @@
TEMPLATE = subdirs
-SUBDIRS += svgviewer svggenerator
+!contains(QT_CONFIG, no-widgets): SUBDIRS += svgviewer svggenerator
QT+=widgets
diff --git a/examples/richtext/richtext.pro b/examples/richtext/richtext.pro
index 6983491..be9c6c3 100644
--- a/examples/richtext/richtext.pro
+++ b/examples/richtext/richtext.pro
@@ -1,3 +1,3 @@
TEMPLATE = subdirs
-SUBDIRS += textobject
+!contains(QT_CONFIG, no-widgets): SUBDIRS += textobject
QT+=widgets
diff --git a/src/plugins/iconengines/iconengines.pro b/src/plugins/iconengines/iconengines.pro
index bef8995..a3053ec 100644
--- a/src/plugins/iconengines/iconengines.pro
+++ b/src/plugins/iconengines/iconengines.pro
@@ -1,3 +1,3 @@
TEMPLATE = subdirs
-contains(QT_CONFIG, svg): SUBDIRS += svgiconengine
+!contains(QT_CONFIG, no-widgets): SUBDIRS += svgiconengine
diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro
index 7052605..e7da7df 100644
--- a/tests/auto/auto.pro
+++ b/tests/auto/auto.pro
@@ -1,8 +1,9 @@
TEMPLATE=subdirs
-SUBDIRS=\
- qsvgdevice \
- qsvggenerator \
- qsvgrenderer \
- qicon_svg \
-
-!cross_compile: SUBDIRS += host.pro
+!contains(QT_CONFIG, no-widgets) {
+ SUBDIRS = \
+ qsvgdevice \
+ qsvggenerator \
+ qsvgrenderer \
+ qicon_svg \
+}
+!cross_compile: SUBDIRS += host.pro