[Qgis-developer] debug qgis mapserver with QtCreator?

Marco Hugentobler marco.hugentobler at sourcepole.ch
Mon Apr 8 08:01:57 PDT 2013

Hi Giovanni

Just set the environment variable QUERY_STRING (e.g. 
QUERY_STRING='SERVICE=WMS&REQUEST=GetCapabilities') and start the 
executable with the debugger.
If you extend the filter possibilities, make sure not to open 
possibilities for sql-injections.


On 08.04.2013 16:56, G. Allegri wrote:
> Hi all,
> I would like to try to extend a bit the filter functionalities in qgis
> server, but I've never setup e debug environment for a C++ CGI.
> Can you suggest me a way to do it? I use QtCreator (Linux) for QGis
> Desktop and I will like to employ iy here too, but I can't figure how
> to attach it to the CGI executable...
> thanks,
> Giovanni

Dr. Marco Hugentobler
Sourcepole -  Linux & Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
marco.hugentobler at sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee

More information about the Qgis-developer mailing list