aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols2/gallery/gallery.pro
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-07-21 11:06:20 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2016-07-21 10:06:23 +0000
commit5690e86326841aff8ff45516dfcbf1d7218c8a1d (patch)
tree29077a33565500f71ae11aa6e5cb458b8067f4ac /examples/quickcontrols2/gallery/gallery.pro
parentda9831af00d25545ff7fd080eabc13379d5d3dfe (diff)
Gallery: use the new .pro syntax for RESOURCES
A .qrc file is no longer mandatory. One can list resources directly in the RESOURCES variable. This results to a flatter Resources-tree in Qt Creator's project tree. Change-Id: If272e4a7974f433552cb848ddc83827dd09669d6 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'examples/quickcontrols2/gallery/gallery.pro')
-rw-r--r--examples/quickcontrols2/gallery/gallery.pro9
1 files changed, 4 insertions, 5 deletions
diff --git a/examples/quickcontrols2/gallery/gallery.pro b/examples/quickcontrols2/gallery/gallery.pro
index cb0736fd..fbfc3df8 100644
--- a/examples/quickcontrols2/gallery/gallery.pro
+++ b/examples/quickcontrols2/gallery/gallery.pro
@@ -5,12 +5,11 @@ QT += quick quickcontrols2
SOURCES += \
gallery.cpp
-OTHER_FILES += \
- gallery.qml \
- pages/*.qml
-
RESOURCES += \
- gallery.qrc
+ gallery.qml \
+ qtquickcontrols2.conf \
+ $$files(images/*.png) \
+ $$files(pages/*.qml)
target.path = $$[QT_INSTALL_EXAMPLES]/quickcontrols2/gallery
INSTALLS += target