[Qgis-developer] postgres getFeatures segfault in pyqgis not in console

Richard Duivenvoorde rdmailings at duif.net
Thu Feb 5 05:21:56 PST 2015


On 05-02-15 02:48, Martin Dobias wrote:

> In that script I still can't see creation of QApplication that I
> mentioned above. Please note that there are two different things here:
> - QApplication - object that initializes Qt library
> - QgsApplication - has static methods to initialize qgis libraries

Ah, thanks! That did the trick.

We have to find a place in the pycookbook to put up this kind of details...

Regards,

Richard


More information about the Qgis-developer mailing list