diff --git a/share/qtcreator/templates/qmlapp/app.pro b/share/qtcreator/templates/qmlapp/app.pro
index 25c37cd80c503bbf56317b89561ad1db070b09a0..be72e26aff4f61c226708002c64c38967b8e6029 100644
--- a/share/qtcreator/templates/qmlapp/app.pro
+++ b/share/qtcreator/templates/qmlapp/app.pro
@@ -25,3 +25,5 @@ symbian:ICON = symbianicon.svg
 SOURCES += main.cpp
 
 include(qmlapplicationviewer/qmlapplicationviewer.pri)
+
+qtcAddDeployment(DEPLOYMENTFOLDERS)
diff --git a/share/qtcreator/templates/qmlapp/qmlapplicationviewer/qmlapplicationviewer.pri b/share/qtcreator/templates/qmlapp/qmlapplicationviewer/qmlapplicationviewer.pri
index 0223774ba3caa85ff41f32b578c6f8ae00e63259..ac8880ccaeed9ea3cc4ba2904e7bad6d5cc126c9 100644
--- a/share/qtcreator/templates/qmlapp/qmlapplicationviewer/qmlapplicationviewer.pri
+++ b/share/qtcreator/templates/qmlapp/qmlapplicationviewer/qmlapplicationviewer.pri
@@ -20,6 +20,7 @@ contains(DEFINES, QMLINSPECTOR) {
     }
 }
 
+defineTest(qtcAddDeployment) {
 for(deploymentfolder, DEPLOYMENTFOLDERS) {
     item = item$${deploymentfolder}
     itemsources = $${item}.sources
@@ -85,3 +86,11 @@ symbian {
     target.path = $${installPrefix}/bin
     INSTALLS += desktopfile icon target
 }
+
+export (INSTALLS)
+export (DEPLOYMENT)
+export (TARGET.EPOCHEAPSIZE)
+export (TARGET.CAPABILITY)
+export (LIBS)
+export (QMAKE_EXTRA_TARGETS)
+}