diff options
Diffstat (limited to 'qtmultimedia.pro')
-rw-r--r-- | qtmultimedia.pro | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/qtmultimedia.pro b/qtmultimedia.pro index 3cec526e8..84f254861 100644 --- a/qtmultimedia.pro +++ b/qtmultimedia.pro @@ -17,11 +17,27 @@ win32 { } else { qtCompileTest(alsa) qtCompileTest(pulseaudio) - qtCompileTest(gstreamer) { - qtCompileTest(gstreamer_photography) - qtCompileTest(gstreamer_encodingprofiles) - qtCompileTest(gstreamer_appsrc) - qtCompileTest(linux_v4l) + !done_config_gstreamer { + gstver=0.10 + !isEmpty(GST_VERSION): gstver=$$GST_VERSION + cache(GST_VERSION, set, gstver); + qtCompileTest(gstreamer) { + qtCompileTest(gstreamer_photography) + qtCompileTest(gstreamer_encodingprofiles) + qtCompileTest(gstreamer_appsrc) + qtCompileTest(linux_v4l) + } else { + gstver=1.0 + cache(GST_VERSION, set, gstver); + # Force a re-run of the test + CONFIG -= done_config_gstreamer + qtCompileTest(gstreamer) { + qtCompileTest(gstreamer_photography) + qtCompileTest(gstreamer_encodingprofiles) + qtCompileTest(gstreamer_appsrc) + qtCompileTest(linux_v4l) + } + } } qtCompileTest(resourcepolicy) qtCompileTest(gpu_vivante) |