summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorCasper van Donderen <casper.vandonderen@nokia.com>2011-06-24 11:24:21 +0200
committerQt by Nokia <qt-info@nokia.com>2011-06-27 13:47:53 +0200
commit59d1278c9e43738b6bf03464f22591c493663adc (patch)
tree8e8d215ad5cff6aecfa8e8bfa074125f7e36720d /examples
parentb138e14c40c54bf12f9c6c35b7f054127430eb50 (diff)
Add the mainwindows demos-examples to the build.
Change-Id: I6ec0be8f058ad127c759fff3c4082a596db53405 Reviewed-on: http://codereview.qt.nokia.com/752 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kevin Wright <kevin.wright@nokia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/mainwindows/macmainwindow/macmainwindow.pro4
-rw-r--r--examples/mainwindows/mainwindow/mainwindow.pro6
-rw-r--r--examples/mainwindows/mainwindows.pro3
3 files changed, 8 insertions, 5 deletions
diff --git a/examples/mainwindows/macmainwindow/macmainwindow.pro b/examples/mainwindows/macmainwindow/macmainwindow.pro
index 435905612a..3ababcca15 100644
--- a/examples/mainwindows/macmainwindow/macmainwindow.pro
+++ b/examples/mainwindows/macmainwindow/macmainwindow.pro
@@ -16,8 +16,8 @@ LIBS += -framework Cocoa -framework Carbon
# install
mac {
-target.path = $$[QT_INSTALL_DEMOS]/qtbase/macmainwindow
+target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/mainwindows/macmainwindow
sources.files = $$SOURCES *.pro *.html
-sources.path = $$[QT_INSTALL_DEMOS]/qtbase/macmainwindow
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/mainwindows/macmainwindow
INSTALLS += target sources
}
diff --git a/examples/mainwindows/mainwindow/mainwindow.pro b/examples/mainwindows/mainwindow/mainwindow.pro
index 6da113d722..17902246ac 100644
--- a/examples/mainwindows/mainwindow/mainwindow.pro
+++ b/examples/mainwindows/mainwindow/mainwindow.pro
@@ -9,9 +9,9 @@ build_all:!build_pass {
RESOURCES += mainwindow.qrc
# install
-target.path = $$[QT_INSTALL_DEMOS]/qtbase/mainwindow
+target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/mainwindows/mainwindow
sources.files = $$SOURCES $$HEADERS $$FORMS $$RESOURCES *.png *.jpg *.pro
-sources.path = $$[QT_INSTALL_DEMOS]/qtbase/mainwindow
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/mainwindows/mainwindow
INSTALLS += target sources
-symbian: CONFIG += qt_demo
+symbian: CONFIG += qt_example
diff --git a/examples/mainwindows/mainwindows.pro b/examples/mainwindows/mainwindows.pro
index 7301c96a79..d570a24042 100644
--- a/examples/mainwindows/mainwindows.pro
+++ b/examples/mainwindows/mainwindows.pro
@@ -1,10 +1,13 @@
TEMPLATE = subdirs
SUBDIRS = application \
+ mainwindow \
mdi \
menus \
recentfiles \
sdi
+mac* && !qpa: SUBDIRS += macmainwindow
+
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/mainwindows
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS mainwindows.pro README