Fixed tst_selftests findtestdata subtest for shadow builds.

This test uses qt.conf to enforce a predictable tests install location.
This was not working in the shadow build case, as qt.conf was only
present in the source tree; embed it as a resource at :/qt/etc/qt.conf
so it works in the shadow build case too.

Change-Id: Iec708d9686c29a1fc5ff0020dc11a93a593d20c5
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
bb10
Rohan McGovern 2011-12-05 14:08:22 +10:00 committed by Qt by Nokia
parent 25be03f046
commit 2d8d258f1d
2 changed files with 6 additions and 0 deletions

View File

@ -4,5 +4,6 @@ QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
RESOURCES = findtestdata.qrc
TARGET = findtestdata

View File

@ -0,0 +1,5 @@
<RCC>
<qresource prefix="/qt/etc/" >
<file>qt.conf</file>
</qresource>
</RCC>