diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2019-04-24 11:29:18 +0200 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2019-04-24 12:07:27 +0000 |
commit | 0e039c17ccb97071fd4210ac958a5e9b999c44f9 (patch) | |
tree | 703bc0a497fa28ccbf9f4e585eebe3b3b1dff422 /tests/auto/shared/platformquirks.h | |
parent | 2cd99e2b69779c12309dd454584aa9546029323e (diff) |
Use resource path for test data on Android and iOS
qtbase/mkspecs/features/testcase.prf already generates a .qrc file
containing the files in TESTDATA, so instead of trying to copy QML
files to the device, we can just use the existing resources.
This fixes the following failure, which affects all tests using
util.pri:
I/QTestLib( 7143): FAIL! : tst_qquickapplication::initTestCase() 'QDir::setCurrent(m_directory)' returned FALSE. (Could not chdir to :/)
Change-Id: Iddfd227c402dbe80aeaa9742a52690d3d8049e46
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests/auto/shared/platformquirks.h')
0 files changed, 0 insertions, 0 deletions