On Sun, Apr 8, 2012 at 7:48 PM, Larry Shaffer <lar...@dakotacarto.com>wrote:
> Hi, > > I've successfully generated QScintilla2 API files for the QGIS Python > bindings and utility modules [0]. If you use the Eric4/5 Python editor (or > another based on QScintilla2), you may be interested in installing and > compiling these APIs. > Seems a better approach, instead of changing SIPMacros.cmake, would be in python/CMakeLists.txt [0]: --- python/CMakeLists_orig.txt 2012-02-19 13:41:41.000000000 -0700 +++ python/CMakeLists.txt 2012-04-08 21:00:16.000000000 -0600 @@ -54,0 +55 @@ +set(SIP_EXTRA_OPTIONS ${PYQT4_SIP_FLAGS} -o -a ${CMAKE_BINARY_DIR}/python/qgis.core.api) @@ -68,0 +70 @@ +set(SIP_EXTRA_OPTIONS ${PYQT4_SIP_FLAGS} -o -a ${CMAKE_BINARY_DIR}/python/qgis.gui.api) @@ -79,0 +82 @@ +set(SIP_EXTRA_OPTIONS ${PYQT4_SIP_FLAGS} -o -a ${CMAKE_BINARY_DIR}/python/qgis.analysis.api) This worked fine on compile, creating the same output as the SIPMacros.cmake edit. Each SIP_EXTRA_OPTIONS could be wrapped with a conditional based on a compile option for generating the APIs. Regards, Larry Shaffer Dakota Cartography Black Hills, South Dakota [0] http://dl.dropbox.com/u/4058089/qgis/CMakeLists.txt
_______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer