diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2017-09-21 14:53:44 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2017-11-22 08:43:04 +0000 |
commit | c9a6f55659bc054f835aa682a521425f8fa2bf07 (patch) | |
tree | 45b9dbc65b92bdb66edeff5533f63d6498ca1df5 /LICENSE.GPL2 | |
parent | d710a3a5b7a0b120d84674dc328418930b87b774 (diff) |
Fix URL interception for qmldir files
We need to intercept the URL when it is created. This relieves us of the
need to hack around in it when actually retrieving the content of the
qmldir file and prevents the futile attempt to load remote qmldir files
via the code path that should load local ones (or vice versa).
The back and forth conversion between URLs and strings is unfortunate,
but can only be solved by using QUrl rather than QString where we
actually mean URL. This would be a bigger change which is unsuitable for
5.9. Mind that nothing changes for code that doesn't use URL
interceptors.
Task-number: QTBUG-36773
Change-Id: I6bff3ae352009fdc0a17ec209691c7b390367f11
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'LICENSE.GPL2')
0 files changed, 0 insertions, 0 deletions