summaryrefslogtreecommitdiffstats
path: root/examples/declarative/i18n/i18n.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/i18n/i18n.pro')
-rw-r--r--examples/declarative/i18n/i18n.pro7
1 files changed, 5 insertions, 2 deletions
diff --git a/examples/declarative/i18n/i18n.pro b/examples/declarative/i18n/i18n.pro
index 184feab..5aed214 100644
--- a/examples/declarative/i18n/i18n.pro
+++ b/examples/declarative/i18n/i18n.pro
@@ -1,5 +1,5 @@
# Add more folders to ship with the application, here
-folder_01.source = qml
+folder_01.source = qml/i18n
folder_01.target = qml
DEPLOYMENTFOLDERS = folder_01
@@ -35,5 +35,8 @@ symbian:TARGET.UID3 = 0xE069582C
SOURCES += main.cpp
# Please do not modify the following two lines. Required for deployment.
-include(qmlapplicationviewer/qmlapplicationviewer.pri)
+desktopInstallPrefix=$$[QT_INSTALL_EXAMPLES]/declarative/i18n
+exists(qmlapplicationviewer/qmlapplicationviewer.pri):include(qmlapplicationviewer/qmlapplicationviewer.pri)
+else:exists(qmlapplicationviewer/qmlapplicationviewer.pri):include(qmlapplicationviewer/qmlapplicationviewer.pri)
+else:include(../../helper/qmlapplicationviewer/qmlapplicationviewer.pri)
qtcAddDeployment()