Android: Added config tests for multimedia on android.
The Android multimedia plug-in requires API level 11 to compile, so the config test will check and issue a message about the requirement if the API level can't be satisfied. Change-Id: I6c21fe1255024e853023bd8168dfa917b00c4c23 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
This commit is contained in:
committed by
The Qt Project
parent
081395a749
commit
ffb26b07c8
4
config.tests/android/android.pro
Normal file
4
config.tests/android/android.pro
Normal file
@@ -0,0 +1,4 @@
|
||||
CONFIG += java
|
||||
API_VERSION = android-11
|
||||
JAVASOURCES += main.java
|
||||
|
||||
6
config.tests/android/main.java
Normal file
6
config.tests/android/main.java
Normal file
@@ -0,0 +1,6 @@
|
||||
import android.graphics.SurfaceTexture;
|
||||
|
||||
class BuildTest
|
||||
{
|
||||
public static void main(String [] args) { }
|
||||
}
|
||||
@@ -8,6 +8,8 @@ win32 {
|
||||
qtCompileTest(evr)
|
||||
} else:mac {
|
||||
qtCompileTest(avfoundation)
|
||||
} else:android {
|
||||
!qtCompileTest(android):error("QtMultimedia for Android requires API level 11")
|
||||
} else {
|
||||
qtCompileTest(alsa)
|
||||
qtCompileTest(pulseaudio)
|
||||
|
||||
Reference in New Issue
Block a user