auto.pri
25 lines
| 831 B
| text/plain
|
TextLexer
Michal Klocek
|
r1200 | !include( ../tests.pri ) { | ||
error( "Couldn't find the tests.pri file!" ) | ||||
Tero Ahola
|
r960 | } | ||
Marek Rosa
|
r2051 | greaterThan(QT_MAJOR_VERSION, 4) { | ||
Marek Rosa
|
r2055 | QT += testlib widgets | ||
Marek Rosa
|
r2051 | } else { | ||
CONFIG += qtestlib | ||||
} | ||||
Tero Ahola
|
r960 | !contains(TARGET, ^tst_.*):TARGET = $$join(TARGET,,"tst_") | ||
Tero Ahola
|
r1109 | |||
Heikkinen Miikka
|
r2524 | android { | ||
# Workaround to fix android deployment, which seems to always look for target in | ||||
# OUT_PWD instead of DESTDIR. Need to override the QMAKE_POST_LINK setting done | ||||
# in tests.pri, as "tst_" was prepended to the target. | ||||
QMAKE_POST_LINK = $$QMAKE_COPY $$CHART_BUILD_BIN_DIR/lib$${TARGET}.so $$OUT_PWD/lib$${TARGET}.so | ||||
} | ||||
Tero Ahola
|
r1109 | INCLUDEPATH += ../inc | ||
HEADERS += ../inc/tst_definitions.h | ||||
Michal Klocek
|
r1198 | |||
OBJECTS_DIR = $$CHART_BUILD_DIR/tests/auto/$$TARGET | ||||
MOC_DIR = $$CHART_BUILD_DIR/tests/auto/$$TARGET | ||||
UI_DIR = $$CHART_BUILD_DIR/tests/auto/$$TARGET | ||||
RCC_DIR = $$CHART_BUILD_DIR/tests/auto/$$TARGET | ||||