summaryrefslogtreecommitdiffstats
path: root/examples/demos/photoviewer/photoviewer.pro
diff options
context:
space:
mode:
authorVenugopal Shivashankar <Venugopal.Shivashankar@qt.io>2018-06-26 15:53:07 +0200
committerFrederik Gladhorn <frederik.gladhorn@qt.io>2018-07-09 12:43:59 +0000
commit70ce5f4d3ecae010cbaefea741f67b9cc91d0be9 (patch)
tree1d502a8daeb91df02236750e291cf6bbbdb58a93 /examples/demos/photoviewer/photoviewer.pro
parent230db034cfee83cdb0fe583d21fe3ad93a4aa11c (diff)
Move demos to qtdoc repository
These demos use several modules and moving them allows to use for example Qt Quick Controls 2 in them. The shared directory should be removed and the examples made self-contained. Change-Id: I5dc667d22388651894d7d145b65752bc5c5cf6cf Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
Diffstat (limited to 'examples/demos/photoviewer/photoviewer.pro')
-rw-r--r--examples/demos/photoviewer/photoviewer.pro19
1 files changed, 19 insertions, 0 deletions
diff --git a/examples/demos/photoviewer/photoviewer.pro b/examples/demos/photoviewer/photoviewer.pro
new file mode 100644
index 000000000..282ab9286
--- /dev/null
+++ b/examples/demos/photoviewer/photoviewer.pro
@@ -0,0 +1,19 @@
+TEMPLATE = app
+
+QT += qml quick 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
+
+target.path = $$[QT_INSTALL_EXAMPLES]/demos/photoviewer
+INSTALLS += target