From 6a4704cc64648896e556bc385eba995b59fcd6ca Mon Sep 17 00:00:00 2001 From: Eskil Abrahamsen Blomfeldt Date: Mon, 5 Jan 2015 10:25:27 +0100 Subject: Android: Fix QByteArray test Include test data in qrc so it can be found on Android. Change-Id: Iaca8422120f1ef842aafeb0cc209cb9fdd70f05f Reviewed-by: BogDan Vatra --- tests/auto/corelib/tools/qbytearray/android_testdata.qrc | 5 +++++ tests/auto/corelib/tools/qbytearray/qbytearray.pro | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 tests/auto/corelib/tools/qbytearray/android_testdata.qrc (limited to 'tests/auto/corelib/tools/qbytearray') diff --git a/tests/auto/corelib/tools/qbytearray/android_testdata.qrc b/tests/auto/corelib/tools/qbytearray/android_testdata.qrc new file mode 100644 index 0000000000..5d42f0f627 --- /dev/null +++ b/tests/auto/corelib/tools/qbytearray/android_testdata.qrc @@ -0,0 +1,5 @@ + + + rfc3252.txt + + diff --git a/tests/auto/corelib/tools/qbytearray/qbytearray.pro b/tests/auto/corelib/tools/qbytearray/qbytearray.pro index 8d2efce0be..22104f817f 100644 --- a/tests/auto/corelib/tools/qbytearray/qbytearray.pro +++ b/tests/auto/corelib/tools/qbytearray/qbytearray.pro @@ -10,3 +10,8 @@ mac { OBJECTIVE_SOURCES += tst_qbytearray_mac.mm LIBS += -framework Foundation } + +android: !android-no-sdk { + RESOURCES += \ + android_testdata.qrc +} -- cgit v1.2.3