diff options
author | Casper van Donderen <casper.vandonderen@nokia.com> | 2011-06-22 14:58:03 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-06-24 16:47:24 +0200 |
commit | 21aba7991592e792808ba4dfeb26fe2b9754544d (patch) | |
tree | 287e8f3e29a6af897218eedefa8798c0ad7385ac /examples/sql | |
parent | e0d5221957bf0d7857f924f1f2ae63d490de0a0a (diff) |
Update sql and animation demos to be an example.
Change-Id: I683383e2dab9428ea3fe4cfffba24bb7fefbc7c7
Reviewed-on: http://codereview.qt.nokia.com/618
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: David Boddie
Diffstat (limited to 'examples/sql')
-rw-r--r-- | examples/sql/books/books.pro | 6 | ||||
-rw-r--r-- | examples/sql/sql.pro | 8 | ||||
-rw-r--r-- | examples/sql/sqlbrowser/sqlbrowser.pro | 6 |
3 files changed, 13 insertions, 7 deletions
diff --git a/examples/sql/books/books.pro b/examples/sql/books/books.pro index 1588288f3e..42bb2c2ea3 100644 --- a/examples/sql/books/books.pro +++ b/examples/sql/books/books.pro @@ -8,12 +8,12 @@ FORMS = bookwindow.ui QT += sql -target.path = $$[QT_INSTALL_DEMOS]/qtbase/books +target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/sql/books sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS *.pro images -sources.path = $$[QT_INSTALL_DEMOS]/qtbase/books +sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/sql/books INSTALLS += target sources -symbian: CONFIG += qt_demo +symbian: CONFIG += qt_example wince*: { CONFIG(debug, debug|release):sqlPlugins.files = $$QT_BUILD_TREE/plugins/sqldrivers/*d4.dll diff --git a/examples/sql/sql.pro b/examples/sql/sql.pro index 56e4f89d9b..43f15e57eb 100644 --- a/examples/sql/sql.pro +++ b/examples/sql/sql.pro @@ -1,6 +1,7 @@ TEMPLATE = subdirs -SUBDIRS = drilldown +SUBDIRS = books \ + drilldown !symbian: SUBDIRS += cachedtable \ relationaltablemodel \ sqlwidgetmapper @@ -11,6 +12,11 @@ SUBDIRS = drilldown querymodel \ tablemodel +!cross_compile:{ + contains(QT_BUILD_PARTS, tools):{ + SUBDIRS += sqlbrowser + } +} # install sources.files = connection.h sql.pro README diff --git a/examples/sql/sqlbrowser/sqlbrowser.pro b/examples/sql/sqlbrowser/sqlbrowser.pro index dc6214622c..9ec26900ad 100644 --- a/examples/sql/sqlbrowser/sqlbrowser.pro +++ b/examples/sql/sqlbrowser/sqlbrowser.pro @@ -13,12 +13,12 @@ build_all:!build_pass { } # install -target.path = $$[QT_INSTALL_DEMOS]/qtbase/sqlbrowser +target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/sql/sqlbrowser sources.files = $$SOURCES $$HEADERS $$FORMS *.pro -sources.path = $$[QT_INSTALL_DEMOS]/qtbase/sqlbrowser +sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/sql/sqlbrowser INSTALLS += target sources -symbian: CONFIG += qt_demo +symbian: CONFIG += qt_example wince*: { DEPLOYMENT_PLUGIN += qsqlite |