diff --git a/share/qtcreator/templates/mobileapp/app.pri b/share/qtcreator/templates/mobileapp/app.pri index 00dcfeb781bfb2922a8ccbfcbf59bfabf36b7c7f..d21963907f808d7d0a3d8a4d31db89201a3e256e 100644 --- a/share/qtcreator/templates/mobileapp/app.pri +++ b/share/qtcreator/templates/mobileapp/app.pri @@ -17,9 +17,14 @@ symbian { desktopfile.path = /usr/share/applications } icon.files = $${TARGET}.png - icon.path = /usr/share/icons/hicolor/64x64 + icon.path = /usr/share/icons/hicolor/64x64/apps desktopfile.files = $${TARGET}.desktop target.path = $${installPrefix}/bin + export(icon.files) + export(icon.path) + export(desktopfile.files) + export(desktopfile.path) + export(target.path) INSTALLS += desktopfile icon target } diff --git a/share/qtcreator/templates/qmlapp/qmlapplicationviewer/qmlapplicationviewer.pri b/share/qtcreator/templates/qmlapp/qmlapplicationviewer/qmlapplicationviewer.pri index ac8880ccaeed9ea3cc4ba2904e7bad6d5cc126c9..6236eaa8959f26f95e1d7d49268a2b0ef8e353b2 100644 --- a/share/qtcreator/templates/qmlapp/qmlapplicationviewer/qmlapplicationviewer.pri +++ b/share/qtcreator/templates/qmlapp/qmlapplicationviewer/qmlapplicationviewer.pri @@ -27,6 +27,10 @@ for(deploymentfolder, DEPLOYMENTFOLDERS) { $$itemsources = $$eval($${deploymentfolder}.source) itempath = $${item}.path $$itempath= $$eval($${deploymentfolder}.target) + export($$itemsources) + export($$itempath) + export(first.depends) + export(copydeploymentfolders.commands) DEPLOYMENT += $$item } @@ -47,6 +51,8 @@ symbian { } copydeploymentfolders.commands = $$copyCommand first.depends = $(first) copydeploymentfolders + export(first.depends) + export(copydeploymentfolders.commands) QMAKE_EXTRA_TARGETS += first copydeploymentfolders } } else:unix { @@ -78,12 +84,19 @@ symbian { $$itemfiles = $$eval($${deploymentfolder}.source) itempath = $${item}.path $$itempath = $${installPrefix}/share/$${TARGET}/$$eval($${deploymentfolder}.target) + export($$itemfiles) + export($$itempath) INSTALLS += $$item } icon.files = $${TARGET}.png - icon.path = /usr/share/icons/hicolor/64x64 + icon.path = /usr/share/icons/hicolor/64x64/apps desktopfile.files = $${TARGET}.desktop target.path = $${installPrefix}/bin + export(icon.files) + export(icon.path) + export(desktopfile.files) + export(desktopfile.path) + export(target.path) INSTALLS += desktopfile icon target }