diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2019-04-24 12:46:59 +0200 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2019-04-24 12:23:50 +0000 |
commit | 5ca18a3f21083151b771f0efa2a2605f183c8166 (patch) | |
tree | 9ba2ed6889d1d117fbb33cea09db151d00bbb29b /src/quicktemplates2/qquickitemdelegate_p_p.h | |
parent | b587e4186497b1f65c5499b2b22c37babb305a09 (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:
FAIL! : tst_cursor::initTestCase() 'QDir::setCurrent(m_directory)' returned FALSE. (Could not chdir to :/)
Change-Id: I1fd7449437be045a7230a7679e24252cdf9c0ccc
Fixes: QTBUG-73604
Fixes: QTBUG-73606
Fixes: QTBUG-73607
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquickitemdelegate_p_p.h')
0 files changed, 0 insertions, 0 deletions