qtcontactsmobility/src/global/global.pro
changeset 25 76a2435edfd4
parent 24 0ba2181d7c28
--- a/qtcontactsmobility/src/global/global.pro	Fri Mar 19 09:27:18 2010 +0200
+++ b/qtcontactsmobility/src/global/global.pro	Fri Apr 16 14:53:18 2010 +0300
@@ -1,4 +1,4 @@
-#for now we don't actually have anything to build
+#for now we do not actually have anything to build
 #just ensure installation of public headers
 TEMPLATE = subdirs
 
@@ -10,14 +10,16 @@
 INSTALLS+= headers
 
 symbian {
-    deploy.path = $$EPOCROOT
-    exportheaders.sources = $$PUBLIC_HEADERS
-    exportheaders.path = epoc32/include/mw
+    path=$$MW_LAYER_PUBLIC_EXPORT_PATH("")
 
-    #export headers into EPOCROOT
-    for(header, exportheaders.sources) {
-        BLD_INF_RULES.prj_exports += "$$header $$deploy.path$$exportheaders.path/$$basename(header)"
+    exportPath=$$EPOCROOT"."$$dirname(path)
+    nativePath=$$replace(exportPath, /,\)
+    exists($$nativePath) {
+    } else {
+        system($$QMAKE_MKDIR $$nativePath)
+    }
+
+    for(header, headers.files) {
+        BLD_INF_RULES.prj_exports += "$$header $$MW_LAYER_PUBLIC_EXPORT_PATH($$basename(header))"
     }
 }
-
-