2011-04-27 10:05:43 +00:00
|
|
|
TEMPLATE = app
|
|
|
|
INCLUDEPATH += .
|
|
|
|
|
|
|
|
HEADERS = bookdelegate.h bookwindow.h initdb.h
|
|
|
|
RESOURCES = books.qrc
|
|
|
|
SOURCES = bookdelegate.cpp main.cpp bookwindow.cpp
|
|
|
|
FORMS = bookwindow.ui
|
|
|
|
|
2011-05-08 07:13:40 +00:00
|
|
|
QT += sql widgets widgets
|
2011-04-27 10:05:43 +00:00
|
|
|
|
2011-06-22 12:58:03 +00:00
|
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/sql/books
|
2011-04-27 10:05:43 +00:00
|
|
|
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS *.pro images
|
2011-06-22 12:58:03 +00:00
|
|
|
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/sql/books
|
2011-04-27 10:05:43 +00:00
|
|
|
INSTALLS += target sources
|
|
|
|
|
2011-06-22 12:58:03 +00:00
|
|
|
symbian: CONFIG += qt_example
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|