[Development] QQmlAbstractUrlInterceptor (Import control from Qt CS)

Thiago Macieira thiago.macieira at intel.com
Thu Jul 25 17:23:17 CEST 2013


On quinta-feira, 25 de julho de 2013 12:25:13, Alberto Mardegan wrote:
> On 07/24/2013 06:47 PM, Alan Alpert wrote:
> > Discussed at Qt CS as the mechanism for both file selectors and
> > providing import control was a new QQmlAbstractUrlInterceptor class.
> > You can provide a subclass of this to the QML engine to intercept all
> > local file and QRC access, when combined with a custom
> > QNetworkAccessManager the application has full control over all file
> > and network access attempted by the engine.
> 
> Would it make sense to have it in QCoreApplication instead of just
> QQmlEngine?
> I guess it could be useful also to non QML apps.

We already have such a task. It's called "global QNetworkAccessManager", but 
unfortunately it's blocked on making QNAM thread-safe first.

For such a global thing to exist at the non-graphical level, it needs to be 
thread-safe.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20130725/82a794a4/attachment.sig>


More information about the Development mailing list