[Qgis-developer] QGIS Python support in a library

Tom Elwertowski telwertowski at comcast.net
Sat May 31 13:10:55 EDT 2008


On May 30, 2008, at 11:27 PM, Tim Sutton wrote:
> I got the python stuff building and my mac post build scripts fix up 
> all the lib paths (see below) in the libqgispython.dylib, core and gui 
> python libs, but python stuff still wont load at runtime...not sure 
> what to do next.

The QLibrary statement at qgisapp.cpp:363 needs a full path (or at least something more than "qgispython"

QLibrary pythonlib("/Users/tce/developer/qgis/trunk/build/qgis0.11.0.app/Contents/MacOS/lib/libqgispython.dylib");
works for me but SVN needs a somewhat more generic solution.

Tom


More information about the Qgis-developer mailing list