summaryrefslogtreecommitdiffstats
path: root/qtmultimedia.pro
diff options
context:
space:
mode:
Diffstat (limited to 'qtmultimedia.pro')
-rw-r--r--qtmultimedia.pro12
1 files changed, 11 insertions, 1 deletions
diff --git a/qtmultimedia.pro b/qtmultimedia.pro
index cf97e6423..21d72d096 100644
--- a/qtmultimedia.pro
+++ b/qtmultimedia.pro
@@ -17,12 +17,22 @@ win32 {
} else {
contains(QT_CONFIG, alsa):qtCompileTest(alsa)
contains(QT_CONFIG, pulseaudio):qtCompileTest(pulseaudio)
- qtCompileTest(gstreamer) {
+
+ isEmpty(GST_VERSION) {
+ contains(QT_CONFIG, gstreamer-0.10) {
+ GST_VERSION = 0.10
+ } else: contains(QT_CONFIG, gstreamer-1.0) {
+ GST_VERSION = 1.0
+ }
+ }
+ cache(GST_VERSION, set)
+ !isEmpty(GST_VERSION):qtCompileTest(gstreamer) {
qtCompileTest(gstreamer_photography)
qtCompileTest(gstreamer_encodingprofiles)
qtCompileTest(gstreamer_appsrc)
qtCompileTest(linux_v4l)
}
+
qtCompileTest(resourcepolicy)
qtCompileTest(gpu_vivante)
}