summaryrefslogtreecommitdiffstats
path: root/examples/examples.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/examples.pro')
-rw-r--r--examples/examples.pro45
1 files changed, 45 insertions, 0 deletions
diff --git a/examples/examples.pro b/examples/examples.pro
new file mode 100644
index 0000000..60e8764
--- /dev/null
+++ b/examples/examples.pro
@@ -0,0 +1,45 @@
+TEMPLATE = subdirs
+SUBDIRS = \
+ desktop \
+ dialogs \
+ draganddrop \
+ graphicsview \
+ ipc \
+ itemviews \
+ layouts \
+ linguist \
+ mainwindows \
+ network \
+ painting \
+ qtconcurrent \
+ richtext \
+ sql \
+ statemachine \
+ threads \
+ tools \
+ tutorials \
+ widgets \
+ uitools \
+ xml \
+ script
+
+contains(QT_CONFIG, phonon):!static: SUBDIRS += phonon
+contains(QT_CONFIG, webkit): SUBDIRS += webkit
+contains(QT_CONFIG, animation): SUBDIRS += animation
+embedded:SUBDIRS += qws
+!wince*: {
+ !contains(QT_EDITION, Console):contains(QT_BUILD_PARTS, tools):SUBDIRS += designer
+ contains(QT_BUILD_PARTS, tools):SUBDIRS += assistant qtestlib help
+} else {
+ contains(QT_BUILD_PARTS, tools):SUBDIRS += qtestlib
+}
+contains(QT_CONFIG, opengl): SUBDIRS += opengl
+contains(QT_CONFIG, dbus): SUBDIRS += dbus
+win32:!contains(QT_EDITION, OpenSource|Console):SUBDIRS += activeqt
+contains(QT_CONFIG, xmlpatterns): SUBDIRS += xmlpatterns
+contains(DEFINES, QT_NO_CURSOR): SUBDIRS -= mainwindows
+
+# install
+sources.files = README *.pro
+sources.path = $$[QT_INSTALL_EXAMPLES]
+INSTALLS += sources