[Qgis-developer] Missing QgsApplication.instance().argv in master

Alessandro Pasotti apasotti at gmail.com
Mon Nov 28 06:35:49 PST 2016


Hi,

the following code is working fine in 2.x but not in master:

>>> QgsApplication.instance().argv()
Traceback (most recent call last):
  File "/usr/lib/python3.5/code.py", line 91, in runcode
    exec(code, self.locals)
  File "<input>", line 1, in <module>
AttributeError: 'QApplication' object has no attribute 'argv'


I looked at the sip file but I did not find the reason why it's now
failing, any idea what has changed in this regard?


-- 
Alessandro Pasotti
w3:   www.itopen.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20161128/d11cb442/attachment-0001.html>


More information about the Qgis-developer mailing list