The qtCompileTest function in configure.prf does not work when cross-compiling on Windows because it detects the wrong make executable. And it's anyway not the best way to do this, since what we really want to check for is the existence of the SDK version, whereas the compile test could potentially hide a lot of other problems under the same error message. Task-number: QTBUG-31405 Change-Id: I2c16b214e40bac5751d4e7098edcc30318756621 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com> Reviewed-by: Christian Stromme <christian.stromme@digia.com>
29 lines
757 B
Prolog
29 lines
757 B
Prolog
load(configure)
|
|
qtCompileTest(openal)
|
|
win32 {
|
|
qtCompileTest(directshow)
|
|
qtCompileTest(wmsdk)
|
|
qtCompileTest(wmp)
|
|
qtCompileTest(wmf)
|
|
qtCompileTest(evr)
|
|
} else:mac {
|
|
qtCompileTest(avfoundation)
|
|
} else:android {
|
|
SDK_ROOT = $$(ANDROID_SDK_ROOT)
|
|
isEmpty(SDK_ROOT): SDK_ROOT = $$DEFAULT_ANDROID_SDK_ROOT
|
|
!exists($$SDK_ROOT/platforms/android-11/android.jar): error("QtMultimedia for Android requires API level 11")
|
|
} else {
|
|
qtCompileTest(alsa)
|
|
qtCompileTest(pulseaudio)
|
|
qtCompileTest(gstreamer) {
|
|
qtCompileTest(gstreamer_photography)
|
|
qtCompileTest(gstreamer_encodingprofiles)
|
|
qtCompileTest(gstreamer_appsrc)
|
|
}
|
|
qtCompileTest(resourcepolicy)
|
|
qtCompileTest(xvideo)
|
|
}
|
|
|
|
load(qt_parts)
|
|
|