From 6dec1c6ffd63f2b35a314c6260a8c366b0d8e386 Mon Sep 17 00:00:00 2001
From: dt <qtc-committer@nokia.com>
Date: Mon, 13 Sep 2010 11:32:27 +0100
Subject: [PATCH] Mobile Wizard: Fix project tree

By introducing a function, which does the hard work
---
 share/qtcreator/templates/mobileapp/app.pri | 8 ++++++++
 share/qtcreator/templates/mobileapp/app.pro | 2 ++
 2 files changed, 10 insertions(+)

diff --git a/share/qtcreator/templates/mobileapp/app.pri b/share/qtcreator/templates/mobileapp/app.pri
index b46ce3227e3..00dcfeb781b 100644
--- a/share/qtcreator/templates/mobileapp/app.pri
+++ b/share/qtcreator/templates/mobileapp/app.pri
@@ -3,6 +3,7 @@
 
 INCLUDEPATH += $$PWD
 
+defineTest(qtcAddDeployment) {
 symbian {
     TARGET.EPOCHEAPSIZE = 0x20000 0x2000000
     contains(DEFINES, ORIENTATIONLOCK):LIBS += -lavkon -leikcore -leiksrv -lcone
@@ -21,3 +22,10 @@ symbian {
     target.path = $${installPrefix}/bin
     INSTALLS += desktopfile icon target
 }
+
+export (INSTALLS)
+export (TARGET.EPOCHEAPSIZE)
+export (TARGET.CAPABILITY)
+export (LIBS)
+
+}
diff --git a/share/qtcreator/templates/mobileapp/app.pro b/share/qtcreator/templates/mobileapp/app.pro
index cd05a35c681..010a22624a7 100644
--- a/share/qtcreator/templates/mobileapp/app.pro
+++ b/share/qtcreator/templates/mobileapp/app.pro
@@ -16,3 +16,5 @@ HEADERS += mainwindow.h
 FORMS += mainwindow.ui
 
 include(app.pri)
+
+qtcAddDeployment(DEPLOYMENTFOLDERS)
-- 
GitLab