[QGIS-Developer] connecting to QgsNetworkAccessManagers signals
apasotti at gmail.com
Fri Jan 18 03:13:19 PST 2019
On Fri, Jan 18, 2019 at 12:10 PM Richard Duivenvoorde <rdmailings at duif.net>
> Hi Devs,
> I'm doing a simple small proof of concept of a minimal plugin which
> connects to the QgsNetworkAccesManager.instance()'s signals to log the
> requests that are fired and show them in de message panel.
> This is going fine for wms and wfs requests or python stuff which uses
> the same instance.
> But other parts of QGIS apparently use another instances?
> Or can there another reason I do not connect to their signals?
> Eg for a WMS I see the GetCapabilities en GetLegendGraphic, but not the
> actual WMS requests, while you can see them in the debug messages if you
> have debug enabled.
> Same with WFS and WMTS tile requests.
I didn't look at the code but maybe it's because the NAM instance is
per-thread and WMS/WFS downloaders run within threads.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the QGIS-Developer