summaryrefslogtreecommitdiffstats
path: root/examples/multimediawidgets/multimediawidgets.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/multimediawidgets/multimediawidgets.pro')
-rw-r--r--examples/multimediawidgets/multimediawidgets.pro4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/multimediawidgets/multimediawidgets.pro b/examples/multimediawidgets/multimediawidgets.pro
index b14ddd26..d8990cdc 100644
--- a/examples/multimediawidgets/multimediawidgets.pro
+++ b/examples/multimediawidgets/multimediawidgets.pro
@@ -1,7 +1,7 @@
TEMPLATE = subdirs
# These examples all need widgets for now (using creator templates that use widgets)
-!isEmpty(QT.widgets.name) {
+qtHaveModule(widgets) {
SUBDIRS += \
camera \
videographicsitem \
@@ -10,7 +10,7 @@ TEMPLATE = subdirs
customvideosurface
}
-!isEmpty(QT.gui.name):!isEmpty(QT.qml.name) {
+qtHaveModule(gui):qtHaveModule(qml) {
disabled:SUBDIRS += declarative-camera
}