qtmobility/features/mobility.prf.template
changeset 15 1f895d8a5b2b
parent 14 6fbed849b4f4
--- a/qtmobility/features/mobility.prf.template	Wed Jun 23 19:08:38 2010 +0300
+++ b/qtmobility/features/mobility.prf.template	Tue Jul 06 15:12:50 2010 +0300
@@ -17,6 +17,7 @@
 
 contains(MOBILITY, bearer) {
     DEFINES += QT_MOBILITY_BEARER
+    INCLUDEPATH += $${MOBILITY_INCLUDE}/QtBearer
     qtAddLibrary(QtBearer)
     !equals(QT_MAJOR_VERSION,4)|!equals(QT_MINOR_VERSION, 6) {
         message(Qt Mobility Bearer API is deprecated when using Qt 4.7 or higher.)
@@ -25,44 +26,51 @@
 }
 
 contains(MOBILITY, publishsubscribe) {
+    INCLUDEPATH += $${MOBILITY_INCLUDE}/QtPublishSubscribe
     qtAddLibrary(QtPublishSubscribe)
 }
 
 contains(MOBILITY, location) {
+    INCLUDEPATH += $${MOBILITY_INCLUDE}/QtLocation
     qtAddLibrary(QtLocation)
 }
 
 contains(MOBILITY, serviceframework) {
+    INCLUDEPATH += $${MOBILITY_INCLUDE}/QtServiceFramework
     qtAddLibrary(QtServiceFramework)
 }
 
 contains(MOBILITY, systeminfo) {
     #QSystemInfo header requires QNetworkInterface
     QT += network
+    INCLUDEPATH += $${MOBILITY_INCLUDE}/QtSystemInfo
     qtAddLibrary(QtSystemInfo)
 }
 
 contains(MOBILITY, multimedia) {
     QT += network
     contains(QT_CONFIG, opengl): QT += opengl
-    mac:LIBS += -framework QtMultimedia
-    else:win32:contains(QT_CONFIG, debug):LIBS += -lQtMultimediad
-    else:LIBS += -lQtMultimedia
+    INCLUDEPATH += $${MOBILITY_INCLUDE}/QtMultimediaKit
+    qtAddLibrary(QtMultimediaKit)
 }
 
 contains(MOBILITY, contacts) {
+    INCLUDEPATH += $${MOBILITY_INCLUDE}/QtContacts
     qtAddLibrary(QtContacts)
 }
 
 contains(MOBILITY, messaging) {
+    INCLUDEPATH += $${MOBILITY_INCLUDE}/QtMessaging
     qtAddLibrary(QtMessaging)
 }
 
 contains(MOBILITY, versit) {
+    INCLUDEPATH += $${MOBILITY_INCLUDE}/QtVersit
     qtAddLibrary(QtVersit)
 }
 
 contains(MOBILITY, sensors) {
+    INCLUDEPATH += $${MOBILITY_INCLUDE}/QtSensors
     qtAddLibrary(QtSensors)
 }