diff options
author | Erik Verbruggen <erik.verbruggen@qt.io> | 2018-04-24 11:35:43 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2018-04-27 05:22:13 +0000 |
commit | f6bbeeb417102c61e8bf23f41e412ed9753a348d (patch) | |
tree | b45c2341c4e2ee8197da7cda87da6adc7c1617b4 /tests/auto/qml/qqmlengine/data | |
parent | 8e20747e94fb24baf9eabbd034efe5c2cf810d55 (diff) |
Normalize URL before loading types
This prevents loading of types with slightly different paths multiple
times, like "qrc:/One.qml" and "qrc:///One.qml".
Task-number: QTBUG-65723
Change-Id: I6e26db6d1d271b2ed37b97eb990618843e99c372
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests/auto/qml/qqmlengine/data')
-rw-r--r-- | tests/auto/qml/qqmlengine/data/qrcurls.js | 1 | ||||
-rw-r--r-- | tests/auto/qml/qqmlengine/data/qrcurls.qml | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlengine/data/qrcurls.js b/tests/auto/qml/qqmlengine/data/qrcurls.js new file mode 100644 index 0000000000..15a4d5a70c --- /dev/null +++ b/tests/auto/qml/qqmlengine/data/qrcurls.js @@ -0,0 +1 @@ +function someFunction() {} diff --git a/tests/auto/qml/qqmlengine/data/qrcurls.qml b/tests/auto/qml/qqmlengine/data/qrcurls.qml new file mode 100644 index 0000000000..e879577e10 --- /dev/null +++ b/tests/auto/qml/qqmlengine/data/qrcurls.qml @@ -0,0 +1,4 @@ +import QtQml 2.0 + +QtObject { +} |