From 14b2b53edc14f36ad15afadbd5254e9260118db5 Mon Sep 17 00:00:00 2001 From: Yoann Lopes Date: Fri, 13 Feb 2015 17:20:03 +0100 Subject: 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 --- qtmultimedia.pro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qtmultimedia.pro') 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) -- cgit v1.2.1