summaryrefslogtreecommitdiff
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.pro4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/declarative/i18n/i18n.pro b/examples/declarative/i18n/i18n.pro
index af9b65c58e..5aed2145e5 100644
--- a/examples/declarative/i18n/i18n.pro
+++ b/examples/declarative/i18n/i18n.pro
@@ -36,5 +36,7 @@ SOURCES += main.cpp
# Please do not modify the following two lines. Required for deployment.
desktopInstallPrefix=$$[QT_INSTALL_EXAMPLES]/declarative/i18n
-include(../../helper/qmlapplicationviewer/qmlapplicationviewer.pri)
+exists(qmlapplicationviewer/qmlapplicationviewer.pri):include(qmlapplicationviewer/qmlapplicationviewer.pri)
+else:exists(qmlapplicationviewer/qmlapplicationviewer.pri):include(qmlapplicationviewer/qmlapplicationviewer.pri)
+else:include(../../helper/qmlapplicationviewer/qmlapplicationviewer.pri)
qtcAddDeployment()