diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com> | 2014-07-10 12:04:49 +0200 |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com> | 2014-07-21 09:49:09 +0200 |
commit | e746e2a11a1fb0b4603df3d8740b09b362116698 (patch) | |
tree | f443a778bfa933dec1c76667e2cc21e0783695b0 /tests/auto/gui/text/qrawfont/qrawfont.pro | |
parent | 8b8eebd8a41bd91aeb5b55b702a4dbc7a8db5752 (diff) |
Android: Fix tests in gui/text requiring test data
Several tests require test data to be deployed with the
application. The easiest way to achieve this on Android
is to add them to a qrc file and use the QFINDTESTDATA macro
to look up the files. This fixes several test failures
in the gui/text subdirectory for Android.
Change-Id: If944bb1fc93434a1b2d6487da829d21bd6b84e87
Reviewed-by: BogDan Vatra <bogdan@kde.org>
Diffstat (limited to 'tests/auto/gui/text/qrawfont/qrawfont.pro')
-rw-r--r-- | tests/auto/gui/text/qrawfont/qrawfont.pro | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/gui/text/qrawfont/qrawfont.pro b/tests/auto/gui/text/qrawfont/qrawfont.pro index 540ffb94d7..1891e7a9bf 100644 --- a/tests/auto/gui/text/qrawfont/qrawfont.pro +++ b/tests/auto/gui/text/qrawfont/qrawfont.pro @@ -8,3 +8,8 @@ SOURCES += \ tst_qrawfont.cpp TESTDATA += testfont_bold_italic.ttf testfont.ttf + +android { + RESOURCES += \ + testdata.qrc +} |