Improved testdata deployment.
authorRohan McGovern <rohan.mcgovern@nokia.com>
Tue, 27 Sep 2011 05:07:50 +0000 (15:07 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 28 Sep 2011 00:14:48 +0000 (02:14 +0200)
commit3d6977d0f0371ca2211b86d6cbe67fe74647b1de
tree30183087fefae7adf078b8b5f25bed5fe93d96b7
parent40864ee84e41d53c412dd1b350624dcde07b009a
Improved testdata deployment.

Don't embed the source path into the binary, instead find the testdata
relative to the test's binary at runtime.

Use DEPLOYMENT hints for installing testdata to a device.

Change-Id: I4005422bb76adf214166fe75d66e82fb18ded04e
Reviewed-on: http://codereview.qt-project.org/5578
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
tests/auto/declarative/qdeclarativepixmapcache/qdeclarativepixmapcache.pro
tests/auto/declarative/qdeclarativepixmapcache/tst_qdeclarativepixmapcache.cpp