blob: 9f60c4a3fc907a6b6814936c206241bddc180573 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
QT += declarative
INCLUDEPATH += $$PWD
LIBS += -L../../lib -L../../bin
win32:CONFIG(debug, debug|release) {
LIBS += -lQtQuickTest$${QT_LIBINFIX}d
} else {
LIBS += -lQtQuickTest$${QT_LIBINFIX}
}
# Locate the "lib" directory in the build tree and put it before
# the Qt "lib" directory in the library path so that we link
# against the libQtQuickTest.so in our build tree, not the Qt one.
FIND_TOP=..
for(i,forever) {
exists($$_PRO_FILE_PWD_/$$FIND_TOP/qtest-qml.pro):break()
FIND_TOP=../$$FIND_TOP
}
load(qt)
QMAKE_LIBDIR=$$OUT_PWD/$$FIND_TOP/lib $$QMAKE_LIBDIR
|