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
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
