[Development] QQmlAbstractUrlInterceptor (Import control from Qt CS)

Alan Alpert 416365416c at gmail.com
Wed Jul 24 17:47:15 CEST 2013

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.

It slipped into 5.1 as private API for advanced prototyping purposes,
you can already find it in the qtdeclarative repository. The plan is
to make it public API in 5.2 to fulfill the aforementioned needs.
Please have a look and provide any feedback, including other possible
usecases, before the 5.2 merge.

Alan Alpert

More information about the Development mailing list