On Feb 19, 2012, at 8:50 AM, Larry Shaffer wrote:

> 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?
> 
> 

This line in CMakeLists.txt (top-level of source tree) works for me:
SET(SIP_EXTRA_OPTIONS ${PYQT4_SIP_FLAGS} -o -a 
${CMAKE_BINARY_DIR}/python/qscintilla_api)

Not sure where to place the resulting file though...



-gary

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Gary Sherman
GeoApt LLC
  http://geoapt.com
Founder, Quantum GIS
Chair, QGIS PSC
Book:
  http://geospatialdesktop.com
"We work virtually everywhere"
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=









_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to