From e0d5221957bf0d7857f924f1f2ae63d490de0a0a Mon Sep 17 00:00:00 2001 From: Casper van Donderen Date: Wed, 22 Jun 2011 13:54:56 +0200 Subject: Move all other demos in qtbase to examples. Change-Id: Iab0e7364d1f6b348d0e3033ea9304139f5bd6d0d Reviewed-on: http://codereview.qt.nokia.com/617 Reviewed-by: Qt Sanity Bot Reviewed-by: David Boddie --- examples/sql/books/books.pro | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 examples/sql/books/books.pro (limited to 'examples/sql/books/books.pro') diff --git a/examples/sql/books/books.pro b/examples/sql/books/books.pro new file mode 100644 index 0000000000..1588288f3e --- /dev/null +++ b/examples/sql/books/books.pro @@ -0,0 +1,23 @@ +TEMPLATE = app +INCLUDEPATH += . + +HEADERS = bookdelegate.h bookwindow.h initdb.h +RESOURCES = books.qrc +SOURCES = bookdelegate.cpp main.cpp bookwindow.cpp +FORMS = bookwindow.ui + +QT += sql + +target.path = $$[QT_INSTALL_DEMOS]/qtbase/books +sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS *.pro images +sources.path = $$[QT_INSTALL_DEMOS]/qtbase/books +INSTALLS += target sources + +symbian: CONFIG += qt_demo + +wince*: { + CONFIG(debug, debug|release):sqlPlugins.files = $$QT_BUILD_TREE/plugins/sqldrivers/*d4.dll + CONFIG(release, debug|release):sqlPlugins.files = $$QT_BUILD_TREE/plugins/sqldrivers/*[^d]4.dll + sqlPlugins.path = sqldrivers + DEPLOYMENT += sqlPlugins +} -- cgit v1.2.3 From 21aba7991592e792808ba4dfeb26fe2b9754544d Mon Sep 17 00:00:00 2001 From: Casper van Donderen Date: Wed, 22 Jun 2011 14:58:03 +0200 Subject: 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 Reviewed-by: David Boddie --- examples/sql/books/books.pro | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/sql/books/books.pro') 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 -- cgit v1.2.3