qt5base-lts/tests/auto/sql/kernel/qsqldatabase/qsqldatabase.pro
Kent Hansen b8d656d878 Fix autotest gui/widgets dependencies
This is in preparation of removing testlib's
dependency on QtGui and QtWidgets.

Autotests that need QtWidgets api must
explicitly include it (since the types are no
longer provided by the QtGui master header).

Autotests that don't need QtGui or QtWidgets
api shouldn't link against those libraries.

Change-Id: I2808289068514fcac582808828ad4634e2631733
Reviewed-on: http://codereview.qt-project.org/5093
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
2011-09-19 10:24:25 +02:00

33 lines
564 B
Prolog

load(qttest_p4)
SOURCES += tst_qsqldatabase.cpp
QT = core sql
win32: {
!wince*: LIBS += -lws2_32
else: LIBS += -lws2
}
wince*: {
DEPLOYMENT_PLUGIN += qsqlite
testData.files = testdata
testData.path = .
DEPLOYMENT += testData
}
symbian {
TARGET.EPOCHEAPSIZE=5000 5000000
TARGET.EPOCSTACKSIZE=50000
qt_not_deployed {
contains(S60_VERSION, 3.1)|contains(S60_VERSION, 3.2)|contains(S60_VERSION, 5.0) {
sqlite.path = /sys/bin
sqlite.files = sqlite3.dll
DEPLOYMENT += sqlite
}
}
}