summaryrefslogtreecommitdiffstats
path: root/demos/declarative/declarative.pro
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2010-03-08 02:52:11 (GMT)
committerRohan McGovern <rohan.mcgovern@nokia.com>2010-03-08 03:02:26 (GMT)
commitc97e1e29aedaceead92cd231b3a77d60bab2af50 (patch)
tree38571662ec0819176c4caa2e3e79ce297aa5cdbc /demos/declarative/declarative.pro
parent69a3c7fc51fcab07a6a0a18a753546b45cf522c3 (diff)
downloadQt-c97e1e29aedaceead92cd231b3a77d60bab2af50.zip
Qt-c97e1e29aedaceead92cd231b3a77d60bab2af50.tar.gz
Qt-c97e1e29aedaceead92cd231b3a77d60bab2af50.tar.bz2
Use a better method for installing declarative demos.
Simply copy the demo directories, instead of writing a stub .pro file.
Diffstat (limited to 'demos/declarative/declarative.pro')
-rw-r--r--demos/declarative/declarative.pro22
1 files changed, 15 insertions, 7 deletions
diff --git a/demos/declarative/declarative.pro b/demos/declarative/declarative.pro
index 037ad85..4d169e3 100644
--- a/demos/declarative/declarative.pro
+++ b/demos/declarative/declarative.pro
@@ -1,9 +1,17 @@
TEMPLATE = subdirs
-SUBDIRS = calculator \
- flickr \
- minehunt \
- samegame \
- snake \
- twitter \
- webbrowser
+
+# These demos contain C++ and need to be compiled
+SUBDIRS = \
+ minehunt
+
+# These examples contain no C++ and can simply be copied
+sources.files = \
+ calculator \
+ flickr \
+ samegame \
+ snake \
+ twitter \
+ webbrowser
+sources.path = $$[QT_INSTALL_DEMOS]/declarative
+INSTALLS += sources