summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/svg/draganddrop/draganddrop.pro2
-rw-r--r--examples/svg/embedded/embedded.pro2
-rw-r--r--examples/svg/network/network.pro2
-rw-r--r--examples/svg/opengl/opengl.pro2
-rw-r--r--examples/svg/richtext/richtext.pro2
-rw-r--r--examples/svg/svg.pro4
-rw-r--r--examples/svg/svgviewer/svgviewer.pro2
7 files changed, 8 insertions, 8 deletions
diff --git a/examples/svg/draganddrop/draganddrop.pro b/examples/svg/draganddrop/draganddrop.pro
index 99fecb0..4873316 100644
--- a/examples/svg/draganddrop/draganddrop.pro
+++ b/examples/svg/draganddrop/draganddrop.pro
@@ -1,3 +1,3 @@
TEMPLATE = subdirs
-!contains(QT_CONFIG, no-widgets): SUBDIRS += delayedencoding
+qtHaveModule(widgets): SUBDIRS += delayedencoding
QT+=widgets
diff --git a/examples/svg/embedded/embedded.pro b/examples/svg/embedded/embedded.pro
index 09cbcd2..20c95a0 100644
--- a/examples/svg/embedded/embedded.pro
+++ b/examples/svg/embedded/embedded.pro
@@ -1,3 +1,3 @@
TEMPLATE = subdirs
-!contains(QT_CONFIG, no-widgets): SUBDIRS += desktopservices fluidlauncher weatherinfo
+qtHaveModule(widgets): SUBDIRS += desktopservices fluidlauncher weatherinfo
QT+=widgets
diff --git a/examples/svg/network/network.pro b/examples/svg/network/network.pro
index 6cf6c42..bcf73b5 100644
--- a/examples/svg/network/network.pro
+++ b/examples/svg/network/network.pro
@@ -1,3 +1,3 @@
TEMPLATE = subdirs
-!contains(QT_CONFIG, no-widgets): SUBDIRS += bearercloud
+qtHaveModule(widgets): SUBDIRS += bearercloud
QT+=widgets
diff --git a/examples/svg/opengl/opengl.pro b/examples/svg/opengl/opengl.pro
index fd845b6..860860e 100644
--- a/examples/svg/opengl/opengl.pro
+++ b/examples/svg/opengl/opengl.pro
@@ -1,3 +1,3 @@
TEMPLATE = subdirs
-!contains(QT_CONFIG, no-widgets): SUBDIRS += framebufferobject
+qtHaveModule(widgets): SUBDIRS += framebufferobject
QT+=widgets
diff --git a/examples/svg/richtext/richtext.pro b/examples/svg/richtext/richtext.pro
index be9c6c3..e8eeaba 100644
--- a/examples/svg/richtext/richtext.pro
+++ b/examples/svg/richtext/richtext.pro
@@ -1,3 +1,3 @@
TEMPLATE = subdirs
-!contains(QT_CONFIG, no-widgets): SUBDIRS += textobject
+qtHaveModule(widgets): SUBDIRS += textobject
QT+=widgets
diff --git a/examples/svg/svg.pro b/examples/svg/svg.pro
index 979f391..5b3d897 100644
--- a/examples/svg/svg.pro
+++ b/examples/svg/svg.pro
@@ -1,8 +1,8 @@
TEMPLATE = subdirs
-!contains(QT_CONFIG, no-widgets): SUBDIRS += embeddedsvgviewer svggenerator svgviewer
+qtHaveModule(widgets): SUBDIRS += embeddedsvgviewer svggenerator svgviewer
SUBDIRS += embedded richtext draganddrop network
-contains(QT_CONFIG,opengl):!contains(QT_CONFIG,opengles2):SUBDIRS += opengl
+qtHaveModule(opengl):!contains(QT_CONFIG, opengles2): SUBDIRS += opengl
QT+=widgets
diff --git a/examples/svg/svgviewer/svgviewer.pro b/examples/svg/svgviewer/svgviewer.pro
index b163ef7..eb2088c 100644
--- a/examples/svg/svgviewer/svgviewer.pro
+++ b/examples/svg/svgviewer/svgviewer.pro
@@ -6,7 +6,7 @@ SOURCES = main.cpp \
svgview.cpp
QT += widgets svg xml
-contains(QT_CONFIG, opengl): QT += opengl
+qtHaveModule(opengl): QT += opengl
CONFIG += console