diff options
author | Heikkinen Miikka <miikka.heikkinen@digia.com> | 2013-05-22 12:00:53 +0300 |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2013-05-22 12:37:39 +0300 |
commit | eaf45afc1a901afbf71fdb366edeed8e08bd2124 (patch) | |
tree | 2f912aaeef5cb38d8560a03ec877a130f3341d4e /tests | |
parent | abf0d5005e357dd2fe59ccf02412687f72e56cb5 (diff) |
Fix autotests build for android
Change-Id: I53f7c5d3c534338859b556561d53ca4fa917622e
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/auto.pri | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/auto.pri b/tests/auto/auto.pri index 70e05bc4..5eb9b174 100644 --- a/tests/auto/auto.pri +++ b/tests/auto/auto.pri @@ -9,6 +9,13 @@ greaterThan(QT_MAJOR_VERSION, 4) { } !contains(TARGET, ^tst_.*):TARGET = $$join(TARGET,,"tst_") +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 +} + INCLUDEPATH += ../inc HEADERS += ../inc/tst_definitions.h |