[Qgis-developer] Sip flag to generate docstrings

Larry Shaffer larrys at dakotacarto.com
Sun Feb 19 12:50:28 EST 2012


Hi Gary,

On Sunday, February 19, 2012, Gary Sherman wrote:

> I would like to propose that we add the -o flag to this line in
> CMakeLists.txt:
>
> SET(SIP_EXTRA_OPTIONS ${PYQT4_SIP_FLAGS} -o)
>

I think any option to help when accessing PyQGIS the better.

On a similar side note, not sure what Python editor you use, but with Eric4
(and its mini editor) you could also have auto-completion of the PyQGIS
methods, etc if there was a QScintilla API file generated with the sip '-a
<output api file>' option as well. I don't believe QScintilla even needs to
be installed.

However, I have not been able to get the -a option to work when adding to
the SIP_EXTRA_OPTIONS, fails on compile. Have you (or anyone else) tried
this in addtion to the -o flag?


Regards,


-- 

Larry Shaffer
Dakota Cartography
Black Hills, South Dakota
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20120219/5d03bee5/attachment.html


More information about the Qgis-developer mailing list