[Development] Qml: fast-path loading of custom URLs

Josh Faust jfaust at suitabletech.com
Thu Jul 25 21:28:49 CEST 2013


> We have that, in that you can mark a reply as finished immediately and
> then it will continue to load it synchronously. But that's still
> taking a slightly slower path and counts as a remote resource (which
> restricts the behavior slightly, such as requiring qmldir files and
> restricting plugin loading).
>

Interesting, somehow I missed setFinished(). I'll have to experiment with
how much of a difference that makes.


>
> > Has something like QResource::registerHandler() been considered in the
> past?
> > Are there any drawbacks to that  approach?
>
> I haven't considered that approach, and don't know much about it (or
> its drawbacks).
>

Mostly wondering if it's been discussed and discarded in the past for any
reason. I've filed a suggestion as QTBUG-32636, and if I can get some free
time may have a go at implementing it.

Thanks

Josh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20130725/43115cf6/attachment.html>


More information about the Development mailing list