Android: Fix QCryptographicHash test

Include test data in qrc when building on Android.

Change-Id: I611ca24fe8764eb709b6ce27e814840ea919d4f1
Reviewed-by: BogDan Vatra <bogdan@kde.org>
This commit is contained in:
Eskil Abrahamsen Blomfeldt 2015-01-05 12:15:24 +01:00
parent 8057ce61d0
commit ce40b8b7ef
2 changed files with 11 additions and 0 deletions

View File

@ -5,3 +5,8 @@ SOURCES = tst_qcryptographichash.cpp
TESTDATA += data/*
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
android: !android-no-sdk {
RESOURCES += \
testdata.qrc
}

View File

@ -0,0 +1,6 @@
<RCC>
<qresource prefix="/">
<file>data/2c1517dad3678f03917f15849b052fd5.md5</file>
<file>data/d41d8cd98f00b204e9800998ecf8427e.md5</file>
</qresource>
</RCC>