summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas McGuire <thomas.mcguire.qnx@kdab.com>2012-10-30 15:20:38 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-07 22:38:34 +0100
commit80a6b173b30b9bd56b99eb7d864005194f27c0d9 (patch)
treefa0e58e451c485b7cf037e20c5924bb385b975ca
parent7319c194cd3d80776c8de3bf0ff2cd36fdd217e0 (diff)
downloadqtmultimedia-80a6b173b30b9bd56b99eb7d864005194f27c0d9.tar.gz
Blackberry: Enable support for audioengine if available
BB10 ships OpenAL, so the audio engine works there. Change-Id: I49ba6201788cb41cabb1670522dc97a36fd5f2c2 Reviewed-by: Kevin Ottens <kevin.ottens.qnx@kdab.com> Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
-rw-r--r--config.tests/openal/openal.pro3
-rw-r--r--src/imports/audioengine/audioengine.pro3
2 files changed, 4 insertions, 2 deletions
diff --git a/config.tests/openal/openal.pro b/config.tests/openal/openal.pro
index 28c4b9528..a4a7d1e86 100644
--- a/config.tests/openal/openal.pro
+++ b/config.tests/openal/openal.pro
@@ -1,6 +1,7 @@
SOURCES += main.cpp
win32: LIBS += -lOpenAL32
-unix:!mac: LIBS += -lopenal
+unix:!mac:!blackberry: LIBS += -lopenal
+blackberry: LIBS += -lOpenAL
mac: LIBS += -framework OpenAL
mac: DEFINES += HEADER_OPENAL_PREFIX
diff --git a/src/imports/audioengine/audioengine.pro b/src/imports/audioengine/audioengine.pro
index b1874e00d..6c4b17c1d 100644
--- a/src/imports/audioengine/audioengine.pro
+++ b/src/imports/audioengine/audioengine.pro
@@ -6,7 +6,8 @@ IMPORT_VERSION = 1.0
QT += quick qml multimedia-private
win32: LIBS += -lOpenAL32
-unix:!mac: LIBS += -lopenal
+unix:!mac:!blackberry: LIBS += -lopenal
+blackberry: LIBS += -lOpenAL
mac: LIBS += -framework OpenAL
mac: DEFINES += HEADER_OPENAL_PREFIX