qtbase/examples/sql/sqlbrowser/sqlbrowser.pro
hjk c527dd44be Examples: Install to $$[QT_INSTALL_EXAMPLES]/$submodule/$example
This makes the structure of the examples after an 'make install'
similar to the one in a 'developer build'.

Change-Id: I9120bd741fab332e64e30adc01cefe87e5633454
Reviewed-by: Martin Smith <martin.smith@digia.com>
2012-11-26 14:35:23 +01:00

25 lines
613 B
Prolog

TEMPLATE = app
TARGET = sqlbrowser
QT += sql widgets
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
target.path = $$[QT_INSTALL_EXAMPLES]/sql/sqlbrowser
sources.files = $$SOURCES $$HEADERS $$FORMS *.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/sql/sqlbrowser
INSTALLS += target sources
wince*: {
DEPLOYMENT_PLUGIN += qsqlite
}