Correctly resolve qrc:/ URLs in type loading
authorMatthew Vogt <matthew.vogt@nokia.com>
Fri, 22 Jun 2012 06:28:40 +0000 (16:28 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 25 Jun 2012 05:29:12 +0000 (07:29 +0200)
commit0c64967cf3317d4c9863da3c2fe130f93b27eefa
tree8406b68b344c2a7c691ab4b1990b52a385562d86
parente76ba402bfe309022a0be29c6bc8223f8f3f94b3
Correctly resolve qrc:/ URLs in type loading

URLS specified with the qrc scheme do not use the 'authority'
part of the syntax, and therefore do not necessarily contain a
double slash immediately after the scheme.

Task-number: QTBUG-25937

Change-Id: I49156b463f11dbb38d6a01d30ea934b0a652c8e5
Reviewed-by: Martin Jones <martin.jones@nokia.com>
src/qml/qml/qqmlfile.cpp
tests/auto/qml/qml.pro
tests/auto/qml/qrcqml/tst_qrcqml.cpp