From 14c94240f9d7d630873dc402d787c0fe4a7b38bd Mon Sep 17 00:00:00 2001 From: Eskil Abrahamsen Blomfeldt Date: Wed, 7 Jan 2015 20:27:47 +0100 Subject: Android: Fix some QStyle tests This adds the testdata to a qrc to make them available on Android. There are still some failures which might be actual errors, and which will be addressed separately. Change-Id: I1bdcfb2c6676134ca52388d49a1b2d25cf2813f9 Reviewed-by: BogDan Vatra --- tests/auto/widgets/styles/qstyle/qstyle.pro | 5 +++++ tests/auto/widgets/styles/qstyle/testdata.qrc | 20 ++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 tests/auto/widgets/styles/qstyle/testdata.qrc (limited to 'tests/auto/widgets') diff --git a/tests/auto/widgets/styles/qstyle/qstyle.pro b/tests/auto/widgets/styles/qstyle/qstyle.pro index 4d18971cc6..b4546aa760 100644 --- a/tests/auto/widgets/styles/qstyle/qstyle.pro +++ b/tests/auto/widgets/styles/qstyle/qstyle.pro @@ -10,3 +10,8 @@ wince* { addPixmap.path = . DEPLOYMENT += addPixmap } + +android: !android-no-sdk { + RESOURCES += \ + testdata.qrc +} diff --git a/tests/auto/widgets/styles/qstyle/testdata.qrc b/tests/auto/widgets/styles/qstyle/testdata.qrc new file mode 100644 index 0000000000..c16b9be775 --- /dev/null +++ b/tests/auto/widgets/styles/qstyle/testdata.qrc @@ -0,0 +1,20 @@ + + + images/mac/button.png + images/mac/combobox.png + images/mac/lineedit.png + images/mac/mdi.png + images/mac/menu.png + images/mac/radiobutton.png + images/mac/slider.png + images/mac/spinbox.png + images/vista/button.png + images/vista/combobox.png + images/vista/lineedit.png + images/vista/menu.png + images/vista/radiobutton.png + images/vista/slider.png + images/vista/spinbox.png + task_25863.png + + -- cgit v1.2.3