diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2017-01-02 14:04:48 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2017-01-03 09:53:31 +0000 |
commit | 9b2b06fd7bf07e1012b47798f38ba881e693436f (patch) | |
tree | 4a0993cd1870d724447e199f604675996973a252 /tests/manual | |
parent | f70066e95e7e23562155686cb7d7874b2d5da5a1 (diff) |
qml: use QUrl::fromUserInput("file.qml", QDir::currentPath())
After change dc6b73390b262b9554599cbf40539763b1280261 in qtbase,
the qml runtime was failing at an assertion in
QQmlTypeLoader::getType() which tries to avoid relative URLs
and relative directory paths. It's important to convert
relative paths to fully-qualified paths when converting to
an URL, because QQmlTypeLoader uses it as a cache key, and
we want to avoid ambiguity about which file is being cached.
Task-number: QTBUG-57870
Change-Id: Ib984cf722009f5f04cb67fffbc52d12bcc98df89
Reviewed-by: David Faure <david.faure@kdab.com>
Reviewed-by: Robin Burchell <robin.burchell@viroteck.net>
Diffstat (limited to 'tests/manual')
0 files changed, 0 insertions, 0 deletions