summaryrefslogtreecommitdiff
path: root/qtmultimedia.pro
diff options
context:
space:
mode:
authorYoann Lopes <yoann.lopes@theqtcompany.com>2015-02-13 17:20:03 +0100
committerYoann Lopes <yoann.lopes@theqtcompany.com>2015-02-17 12:49:41 +0000
commit14b2b53edc14f36ad15afadbd5254e9260118db5 (patch)
treeb08cd5b4c4250579fff882e12e7fcf12871f7c48 /qtmultimedia.pro
parent06259f1dfbd9cb2ebd58bba59381a42dc8a758df (diff)
downloadqtmultimedia-14b2b53edc14f36ad15afadbd5254e9260118db5.tar.gz
Compile Alsa and PulseAudio plugins only when enabled by configure.
They are enabled by default, this simply makes sure -no-alsa and -no-pulseaudio work. Change-Id: I8e921381363064bb65b414152eab27c08a551dc4 Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
Diffstat (limited to 'qtmultimedia.pro')
-rw-r--r--qtmultimedia.pro4
1 files changed, 2 insertions, 2 deletions
diff --git a/qtmultimedia.pro b/qtmultimedia.pro
index 3cec526e8..cf97e6423 100644
--- a/qtmultimedia.pro
+++ b/qtmultimedia.pro
@@ -15,8 +15,8 @@ win32 {
} else:qnx {
qtCompileTest(mmrenderer)
} else {
- qtCompileTest(alsa)
- qtCompileTest(pulseaudio)
+ contains(QT_CONFIG, alsa):qtCompileTest(alsa)
+ contains(QT_CONFIG, pulseaudio):qtCompileTest(pulseaudio)
qtCompileTest(gstreamer) {
qtCompileTest(gstreamer_photography)
qtCompileTest(gstreamer_encodingprofiles)