On some Android adaptation based devices (Like Jolla1) accessing v4l2 devices can cause crashes. Since we don't use V4L for anything and our media pipelines depend on GStreamer, it should be safe to disable V4L.
43 lines
1.1 KiB
Prolog
43 lines
1.1 KiB
Prolog
requires(qtHaveModule(gui))
|
|
|
|
load(configure)
|
|
qtCompileTest(openal)
|
|
win32 {
|
|
qtCompileTest(directshow) {
|
|
qtCompileTest(wshellitem)
|
|
}
|
|
qtCompileTest(evr)
|
|
qtCompileTest(wmsdk)
|
|
contains(QT_CONFIG, wmf-backend): qtCompileTest(wmf)
|
|
} else:mac {
|
|
qtCompileTest(avfoundation)
|
|
} else:qnx {
|
|
qtCompileTest(mmrenderer)
|
|
} else:!android {
|
|
contains(QT_CONFIG, alsa):qtCompileTest(alsa)
|
|
contains(QT_CONFIG, pulseaudio):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)
|
|
!contains(DEFINES, DISABLE_V4L) {
|
|
qtCompileTest(linux_v4l)
|
|
}
|
|
}
|
|
|
|
qtCompileTest(resourcepolicy)
|
|
contains(QT_CONFIG, opengles2):qtCompileTest(gpu_vivante)
|
|
}
|
|
|
|
load(qt_parts)
|
|
|