summaryrefslogtreecommitdiffstats
path: root/src/s60installs
diff options
context:
space:
mode:
authorThomas Zander <t.zander@nokia.com>2010-05-04 12:15:24 (GMT)
committerThomas Zander <t.zander@nokia.com>2010-05-04 12:15:24 (GMT)
commit33664eaa591b4325f83643d8c8a21476b1306c34 (patch)
tree0289aa3d18fb203a51f7f1f80db2d5c649044e7d /src/s60installs
parent172897759333186169e23f82097773beabea567f (diff)
downloadQt-33664eaa591b4325f83643d8c8a21476b1306c34.zip
Qt-33664eaa591b4325f83643d8c8a21476b1306c34.tar.gz
Qt-33664eaa591b4325f83643d8c8a21476b1306c34.tar.bz2
Disable compiling of the plugin when extra package not found
The plugin will only compile when the symbian audiorouting API is installed which is not there by default. So check for that. The configure check should be added soon too.
Diffstat (limited to 'src/s60installs')
-rw-r--r--src/s60installs/s60installs.pro7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/s60installs/s60installs.pro b/src/s60installs/s60installs.pro
index dfd2694..97b2232 100644
--- a/src/s60installs/s60installs.pro
+++ b/src/s60installs/s60installs.pro
@@ -158,11 +158,12 @@ symbian: {
contains(QT_CONFIG, media-backend) {
qtlibraries.sources += $$QMAKE_LIBDIR_QT/QtMediaServices$${QT_LIBINFIX}.dll
- mediaservices_plugins.path = c:$$QT_PLUGINS_BASE_DIR/mediaservices
- mediaservices_plugins.sources += $$QT_BUILD_TREE/plugins/mediaservices/qmmfengine$${QT_LIBINFIX}.dll
+ contains(QT_CONFIG, audio-routing-available) {
+ mediaservices_plugins.path = c:$$QT_PLUGINS_BASE_DIR/mediaservices
+ mediaservices_plugins.sources += $$QT_BUILD_TREE/plugins/mediaservices/qmmfengine$${QT_LIBINFIX}.dll
+ }
DEPLOYMENT += mediaservices_plugins
-
}
BLD_INF_RULES.prj_exports += "qt.iby $$CORE_MW_LAYER_IBY_EXPORT_PATH(qt.iby)"