diff --git a/share/qtcreator/templates/qmlapp/qmlapplication.pri b/share/qtcreator/templates/qmlapp/qmlapplication.pri index 041dfa34c700eb6c840eeabb031676808c95cee1..cb4046195539cee7cd7c37d45a8400fd95d51f7e 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...