summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2012-12-21 11:02:52 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-08 11:09:04 +0100
commit4cd6f0ddc772daf1bedd45a2dce8afd4ed2bb5bf (patch)
tree18e7ffa7d29aba9c9fb7252a57bff61dbb7f1958 /examples
parent0c22eb9d9d1a0b72622fdf16ebf60712336b449e (diff)
make use of qtHaveModule()
Change-Id: I494ad22447fe54be405698f2dfd79e4941019bdc Reviewed-by: Tasuku Suzuki <stasuku@gmail.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/designer/arthurplugin/arthurplugin.pro2
-rw-r--r--examples/examples.pro2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/designer/arthurplugin/arthurplugin.pro b/examples/designer/arthurplugin/arthurplugin.pro
index ea0939891..9d627180a 100644
--- a/examples/designer/arthurplugin/arthurplugin.pro
+++ b/examples/designer/arthurplugin/arthurplugin.pro
@@ -18,7 +18,7 @@ INSTALLS += target
}
-contains(QT_CONFIG, opengl) {
+qtHaveModule(opengl) {
DEFINES += QT_OPENGL_SUPPORT
QT += opengl
}
diff --git a/examples/examples.pro b/examples/examples.pro
index cacdec563..4955969c3 100644
--- a/examples/examples.pro
+++ b/examples/examples.pro
@@ -1,3 +1,3 @@
TEMPLATE = subdirs
-!isEmpty(QT.widgets.name): SUBDIRS += help designer linguist uitools assistant
+qtHaveModule(widgets): SUBDIRS += help designer linguist uitools assistant