aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/demos/photoviewer/photoviewer.pro
diff options
context:
space:
mode:
authorNiels Weber <niels.weber@digia.com>2014-05-12 13:27:24 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-05-21 11:57:21 +0200
commit7ccdf8d11675e963b70b565e421309e09c019343 (patch)
tree8eb30ea495f148b7047f0f4bca94d73905719be4 /examples/quick/demos/photoviewer/photoviewer.pro
parent3ed6361bbaa711c9f3441704659ccb971751b44e (diff)
Make a pro file based project out of the photoviewer example
Having a .pro file project is necessary to be able to deploy to Android. Further patches for Android support will be needed, but this is the base. Task-number: QTBUG-38122 Change-Id: I878ec1df50d7375ae9153f8a34f763b5678d7774 Reviewed-by: Mika Salmela <mika.salmela@digia.com> Reviewed-by: Sami Makkonen <sami.makkonen@digia.com> Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
Diffstat (limited to 'examples/quick/demos/photoviewer/photoviewer.pro')
-rw-r--r--examples/quick/demos/photoviewer/photoviewer.pro22
1 files changed, 22 insertions, 0 deletions
diff --git a/examples/quick/demos/photoviewer/photoviewer.pro b/examples/quick/demos/photoviewer/photoviewer.pro
new file mode 100644
index 0000000000..704e2ce003
--- /dev/null
+++ b/examples/quick/demos/photoviewer/photoviewer.pro
@@ -0,0 +1,22 @@
+TEMPLATE = app
+
+QT += qml quick widgets xmlpatterns
+
+SOURCES += main.cpp
+
+lupdate_only{
+SOURCES = *.qml \
+ PhotoViewerCore/*.qml \
+ PhotoViewerCore/script/*.js
+}
+
+TRANSLATIONS += i18n/qml_fr.ts \
+ i18n/qml_de.ts
+
+RESOURCES += qml.qrc
+
+# Additional import path used to resolve QML modules in Qt Creator's code model
+QML_IMPORT_PATH =
+
+# Default rules for deployment.
+include(deployment.pri)