aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports
diff options
context:
space:
mode:
authorAlexander Volkov <a.volkov@rusbitech.ru>2017-06-13 13:40:10 +0300
committerSimon Hausmann <simon.hausmann@qt.io>2017-06-13 14:00:46 +0000
commit7c27955968bab135b0e0db3a5f707efa86e80464 (patch)
treeff5e50cc2dad5b2f7da3beb447877f8670b1b238 /src/imports
parent84275fda5eaf709043572d6bbd76d5714c517af7 (diff)
Fix loading QML caches for qrc:/// urls
Running examples/quick/window/window produces debug messages: "QML source file has moved to a different location." This is because QQmlFile::urlToLocalFileOrQrc(const QString &) overload is incompatible with QQmlFile::urlToLocalFileOrQrc(const QUrl &) when it deals with qrc:/// urls. For example it returns ":///window/window.qml" while the QUrl overload returns ":/window/window.qml". Thus the comparison of source paths in CompilationUnit::loadFromDisk() fails. Fix the incompatibility and add a test. Change-Id: I20449b8cf13d715d88860f2cd413ab39c893f3ef Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/imports')
0 files changed, 0 insertions, 0 deletions