summaryrefslogtreecommitdiff
path: root/src/src.pro
diff options
context:
space:
mode:
authorCorentin Jabot <corentinjabot@gmail.com>2012-07-28 14:31:11 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-02 07:29:41 +0200
commit86553ef8113259a1e80256ee51de981e416d102e (patch)
treebc7691013ad31ced6659aa37e37016a0e11defb1 /src/src.pro
parent07c581a52c5ba63fe857addc17f2f03a80080127 (diff)
downloadqtmultimedia-86553ef8113259a1e80256ee51de981e416d102e.tar.gz
The qt quick imports are build only if qtdeclarative is present
If the declarative module is not present, the qtquick/qml plugins in the imports directory will not be build Change-Id: I2393b8302f75cbb94d3a85bd70f575817a0a3c34 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
Diffstat (limited to 'src/src.pro')
-rw-r--r--src/src.pro19
1 files changed, 11 insertions, 8 deletions
diff --git a/src/src.pro b/src/src.pro
index 848088826..71122954b 100644
--- a/src/src.pro
+++ b/src/src.pro
@@ -6,21 +6,24 @@ SUBDIRS += multimedia
src_qgsttools.subdir = gsttools
src_qgsttools.depends = multimedia
-src_qtmultimediaquicktools.subdir = qtmultimediaquicktools
-src_qtmultimediaquicktools.depends = multimedia
-
src_qtmmwidgets.subdir = multimediawidgets
src_qtmmwidgets.depends = multimedia
src_plugins.subdir = plugins
src_plugins.depends = multimedia
-src_imports.subdir = imports
-src_imports.depends = multimedia src_qtmultimediaquicktools
-SUBDIRS += \
- src_qtmultimediaquicktools \
- src_imports
+!isEmpty(QT.quick.name) {
+ src_qtmultimediaquicktools.subdir = qtmultimediaquicktools
+ src_qtmultimediaquicktools.depends = multimedia
+
+ src_imports.subdir = imports
+ src_imports.depends = multimedia src_qtmultimediaquicktools
+
+ SUBDIRS += \
+ src_qtmultimediaquicktools \
+ src_imports
+}
# Optional bits
!isEmpty(QT.widgets.name) {