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
This commit is contained in:
parent
e0d5221957
commit
21aba79915
@ -7,6 +7,7 @@ SUBDIRS += \
|
|||||||
moveblocks \
|
moveblocks \
|
||||||
states \
|
states \
|
||||||
stickman \
|
stickman \
|
||||||
|
sub-attaq \
|
||||||
|
|
||||||
# install
|
# install
|
||||||
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/animation
|
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/animation
|
||||||
|
@ -29,13 +29,13 @@ SOURCES += boat.cpp \
|
|||||||
RESOURCES += subattaq.qrc
|
RESOURCES += subattaq.qrc
|
||||||
|
|
||||||
# install
|
# install
|
||||||
target.path = $$[QT_INSTALL_DEMOS]/qtbase/sub-attaq
|
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/animation/sub-attaq
|
||||||
sources.files = $$SOURCES \
|
sources.files = $$SOURCES \
|
||||||
$$HEADERS \
|
$$HEADERS \
|
||||||
$$RESOURCES \
|
$$RESOURCES \
|
||||||
$$FORMS \
|
$$FORMS \
|
||||||
sub-attaq.pro \
|
sub-attaq.pro \
|
||||||
pics
|
pics
|
||||||
sources.path = $$[QT_INSTALL_DEMOS]/qtbase/sub-attaq
|
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/animation/sub-attaq
|
||||||
INSTALLS += target \
|
INSTALLS += target \
|
||||||
sources
|
sources
|
||||||
|
@ -8,12 +8,12 @@ FORMS = bookwindow.ui
|
|||||||
|
|
||||||
QT += sql
|
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.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
|
INSTALLS += target sources
|
||||||
|
|
||||||
symbian: CONFIG += qt_demo
|
symbian: CONFIG += qt_example
|
||||||
|
|
||||||
wince*: {
|
wince*: {
|
||||||
CONFIG(debug, debug|release):sqlPlugins.files = $$QT_BUILD_TREE/plugins/sqldrivers/*d4.dll
|
CONFIG(debug, debug|release):sqlPlugins.files = $$QT_BUILD_TREE/plugins/sqldrivers/*d4.dll
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
TEMPLATE = subdirs
|
TEMPLATE = subdirs
|
||||||
|
|
||||||
SUBDIRS = drilldown
|
SUBDIRS = books \
|
||||||
|
drilldown
|
||||||
!symbian: SUBDIRS += cachedtable \
|
!symbian: SUBDIRS += cachedtable \
|
||||||
relationaltablemodel \
|
relationaltablemodel \
|
||||||
sqlwidgetmapper
|
sqlwidgetmapper
|
||||||
@ -11,6 +12,11 @@ SUBDIRS = drilldown
|
|||||||
querymodel \
|
querymodel \
|
||||||
tablemodel
|
tablemodel
|
||||||
|
|
||||||
|
!cross_compile:{
|
||||||
|
contains(QT_BUILD_PARTS, tools):{
|
||||||
|
SUBDIRS += sqlbrowser
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
# install
|
# install
|
||||||
sources.files = connection.h sql.pro README
|
sources.files = connection.h sql.pro README
|
||||||
|
@ -13,12 +13,12 @@ build_all:!build_pass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# install
|
# install
|
||||||
target.path = $$[QT_INSTALL_DEMOS]/qtbase/sqlbrowser
|
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/sql/sqlbrowser
|
||||||
sources.files = $$SOURCES $$HEADERS $$FORMS *.pro
|
sources.files = $$SOURCES $$HEADERS $$FORMS *.pro
|
||||||
sources.path = $$[QT_INSTALL_DEMOS]/qtbase/sqlbrowser
|
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/sql/sqlbrowser
|
||||||
INSTALLS += target sources
|
INSTALLS += target sources
|
||||||
|
|
||||||
symbian: CONFIG += qt_demo
|
symbian: CONFIG += qt_example
|
||||||
|
|
||||||
wince*: {
|
wince*: {
|
||||||
DEPLOYMENT_PLUGIN += qsqlite
|
DEPLOYMENT_PLUGIN += qsqlite
|
||||||
|
Loading…
x
Reference in New Issue
Block a user