diff options
author | Yoann Lopes <yoann.lopes@theqtcompany.com> | 2015-02-13 17:20:03 +0100 |
---|---|---|
committer | Yoann Lopes <yoann.lopes@theqtcompany.com> | 2015-02-17 12:49:41 +0000 |
commit | 14b2b53edc14f36ad15afadbd5254e9260118db5 (patch) | |
tree | b08cd5b4c4250579fff882e12e7fcf12871f7c48 | |
parent | 06259f1dfbd9cb2ebd58bba59381a42dc8a758df (diff) |
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>
-rw-r--r-- | qtmultimedia.pro | 4 |
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) |