diff options
author | Jocelyn Turcotte <jturcotte@woboq.com> | 2015-11-17 13:52:39 +0100 |
---|---|---|
committer | Jocelyn Turcotte (Woboq GmbH) <jturcotte@woboq.com> | 2015-11-19 14:17:22 +0000 |
commit | dacb7fa08dd64eaeb8510ca0be24f6da5c2c1b25 (patch) | |
tree | 875cc8db04afa60fa0f21d1e6599e21ae3134461 /tools/buildscripts/qtwebengine_utils.py | |
parent | 9244bc33e32f9df4fcf0eb39b5c5632bf05e3e37 (diff) | |
download | qtwebengine-dacb7fa08dd64eaeb8510ca0be24f6da5c2c1b25.tar.gz |
Fix loading user scripts from qrc files
QUrl::toLocalFile doesn't handle qrc:// URLs, do like
QQuickImageBase instead and use a public utility function
to does that conversion.
This allows loading qtwebchannel.js and use it in subsequent
user scripts.
Change-Id: I4791abdc96a7cd1e65ff76b1adeab9f9b250b582
Reviewed-by: Michael BrĂ¼ning <michael.bruning@theqtcompany.com>
Diffstat (limited to 'tools/buildscripts/qtwebengine_utils.py')
0 files changed, 0 insertions, 0 deletions