aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/dialogs/dialogs.pro
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@digia.com>2013-06-11 09:55:14 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-06-11 13:44:49 +0200
commit5ce41d1e77db3f46c396834f698826f4fd998344 (patch)
tree8fe38dbe963ab22141edf757dcd7e9448dff7e30 /examples/quick/dialogs/dialogs.pro
parentf64704fed878f74b9525304329cbabb94511090f (diff)
Clean up qt quick dialogs example again
I5245a6931606673733130b1f168fddafe8def695 took us the wrong direction: the intention was to put ALL dialogs in one example, because each example has some overhead (project, docs, screenshot, c++ launcher) and we don't want to have several more separate examples after the other dialog types are added. Color and file dialogs have no relationship to each other except that they happened to be implemented first. This is analogous to qtbase/examples/widgets/dialogs/standarddialogs And in fact, each dialog type is in a separate qml file, so you can run them individually with qmlscene anyway, which will keep this from becoming unwieldy and hard to understand. Change-Id: Id28d5718b4b7b475dcd7d62e31c4634219dc3ddc Reviewed-by: Jerome Pasion <jerome.pasion@digia.com> Reviewed-by: Caroline Chao <caroline.chao@digia.com>
Diffstat (limited to 'examples/quick/dialogs/dialogs.pro')
-rw-r--r--examples/quick/dialogs/dialogs.pro19
1 files changed, 16 insertions, 3 deletions
diff --git a/examples/quick/dialogs/dialogs.pro b/examples/quick/dialogs/dialogs.pro
index 275e36470f..b76f396e9d 100644
--- a/examples/quick/dialogs/dialogs.pro
+++ b/examples/quick/dialogs/dialogs.pro
@@ -1,4 +1,17 @@
-TEMPLATE = subdirs
+TEMPLATE = app
-SUBDIRS = \
- colorandfiledialogs
+QT += quick qml
+SOURCES += main.cpp
+RESOURCES += dialogs.qrc ../shared/shared.qrc
+
+OTHER_FILES += \
+ dialogs.qml \
+ FileDialogs.qml \
+ ColorDialogs.qml
+
+EXAMPLE_FILES = \
+ FileDialogs.qml \
+ ColorDialogs.qml
+
+target.path = $$[QT_INSTALL_EXAMPLES]/quick/dialogs
+INSTALLS += target