The gstreamer version detected or set by the configure script can be overridden by passing GST_VERSION=<version> to qmake qtmultimedia.pro. Change-Id: I6f2eac3705d3d6fe0ec8e79042017add6751ee8c Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
42 lines
970 B
Prolog
42 lines
970 B
Prolog
requires(qtHaveModule(gui))
|
|
|
|
load(configure)
|
|
qtCompileTest(openal)
|
|
win32 {
|
|
qtCompileTest(directshow) {
|
|
qtCompileTest(wshellitem)
|
|
}
|
|
qtCompileTest(wmsdk)
|
|
qtCompileTest(wmp)
|
|
contains(QT_CONFIG, wmf-backend): qtCompileTest(wmf)
|
|
qtCompileTest(evr)
|
|
} else:mac {
|
|
qtCompileTest(avfoundation)
|
|
} else:qnx {
|
|
qtCompileTest(mmrenderer)
|
|
} else {
|
|
qtCompileTest(alsa)
|
|
qtCompileTest(pulseaudio)
|
|
|
|
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)
|
|
}
|
|
|
|
load(qt_parts)
|
|
|