2011-04-27 10:05:43 +00:00
|
|
|
TEMPLATE = app
|
|
|
|
TARGET = sqlbrowser
|
|
|
|
|
2011-05-08 07:13:40 +00:00
|
|
|
QT += sql widgets
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
HEADERS = browser.h connectionwidget.h qsqlconnectiondialog.h
|
|
|
|
SOURCES = main.cpp browser.cpp connectionwidget.cpp qsqlconnectiondialog.cpp
|
|
|
|
|
|
|
|
FORMS = browserwidget.ui qsqlconnectiondialog.ui
|
|
|
|
build_all:!build_pass {
|
|
|
|
CONFIG -= build_all
|
|
|
|
CONFIG += release
|
|
|
|
}
|
|
|
|
|
|
|
|
# install
|
2011-06-22 12:58:03 +00:00
|
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/sql/sqlbrowser
|
2011-04-27 10:05:43 +00:00
|
|
|
sources.files = $$SOURCES $$HEADERS $$FORMS *.pro
|
2011-06-22 12:58:03 +00:00
|
|
|
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/sql/sqlbrowser
|
2011-04-27 10:05:43 +00:00
|
|
|
INSTALLS += target sources
|
|
|
|
|
|
|
|
|
|
|
|
wince*: {
|
|
|
|
DEPLOYMENT_PLUGIN += qsqlite
|
|
|
|
}
|