summaryrefslogtreecommitdiff
path: root/qtmultimedia.pro
diff options
context:
space:
mode:
authorChristian Strømme <christian.stromme@digia.com>2013-04-26 14:49:45 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-04-29 18:03:17 +0200
commitffb26b07c84d99ff3b3c857d7f85cfe1b724ec45 (patch)
tree2b62ea73709cd6a375e60a2a17680b9389ddfc58 /qtmultimedia.pro
parent081395a749ce4a8e5fe656c0ca4946d302018534 (diff)
downloadqtmultimedia-ffb26b07c84d99ff3b3c857d7f85cfe1b724ec45.tar.gz
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>
Diffstat (limited to 'qtmultimedia.pro')
-rw-r--r--qtmultimedia.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/qtmultimedia.pro b/qtmultimedia.pro
index aeb97464d..53f6b9886 100644
--- a/qtmultimedia.pro
+++ b/qtmultimedia.pro
@@ -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)