From ac6dadf9b0a4a0527b005ce43fd944825560df0a Mon Sep 17 00:00:00 2001
From: dt <qtc-committer@nokia.com>
Date: Wed, 11 Aug 2010 10:52:35 +0200
Subject: [PATCH] Move deployment out of symbian scope

---
 .../templates/qmlapp/qmlapplication.pri         | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/share/qtcreator/templates/qmlapp/qmlapplication.pri b/share/qtcreator/templates/qmlapp/qmlapplication.pri
index 041dfa34c70..cb404619553 100644
--- a/share/qtcreator/templates/qmlapp/qmlapplication.pri
+++ b/share/qtcreator/templates/qmlapp/qmlapplication.pri
@@ -20,18 +20,19 @@ contains(DEFINES, QMLINSPECTOR) {
     }
 }
 
+for(deploymentfolder, DEPLOYMENTFOLDERS) {
+    item = item$${deploymentfolder}
+    itemsources = $${item}.sources
+    $$itemsources = $$eval($${deploymentfolder}.source)
+    itempath = $${item}.path
+    $$itempath= $$eval($${deploymentfolder}.target)
+    DEPLOYMENT += $$item
+}
+
 symbian {
     ICON = cpp/symbianicon.svg
     contains(DEFINES, ORIENTATIONLOCK):LIBS += -lavkon -leikcore -leiksrv -lcone
     contains(DEFINES, NETWORKACCESS):TARGET.CAPABILITY += NetworkServices
-    for(deploymentfolder, DEPLOYMENTFOLDERS) {
-        item = item$${deploymentfolder}
-        itemsources = $${item}.sources
-        $$itemsources = $$eval($${deploymentfolder}.source)
-        itempath = $${item}.path
-        $$itempath= $$eval($${deploymentfolder}.target)
-        DEPLOYMENT += $$item
-    }
 } else:win32 {
     !isEqual(PWD,$$OUT_PWD) {
         copyCommand = @echo Copying application data...
-- 
GitLab