[Qgis-developer] QGIS Python support in a library
tim at linfiniti.com
Mon Jun 2 02:37:39 EDT 2008
Ok with Toms change, it tries to load python but fails with lib path
issues. Could you give me otool -L dumps for the three python libs
once you have them working so I can update my post install scripts? I
tried a few permutations of @add_library path but Im not sure if I
should be universally swtiching @executable_path.
2008/6/1 William Kyngesburye <woklist at kyngchaos.com>:
> OK, finally got a package built properly. Python support IS starting.
> Maybe something changed in SVN since I last tried it Saturday? Or maybe my
> @loader_path change was the key?
> Qgis SVN r8575
> OSX 10.5.3, Xcode 3.1 beta
> System Python 2.5
> Qt 4.3.5/PyQt 4.3.3/SIP 4.7.4
> This is with my usual changing things to @loader_path where appropriate, so
> the python .so's in Qgis relatively refer to the Qgis libs and bundled Qt
> (instead of the default @executable_path, which is unclear what the
> executable is).
> On May 31, 2008, at 12:10 PM, Tom Elwertowski wrote:
>> 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
>> The QLibrary statement at qgisapp.cpp:363 needs a full path (or at least
>> something more than "qgispython"
>> works for me but SVN needs a somewhat more generic solution.
>> Qgis-developer mailing list
>> Qgis-developer at lists.osgeo.org
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> "Mon Dieu! but they are all alike. Cheating, murdering, lying, fighting,
> and all for things that the beasts of the jungle would not deign to possess
> - money to purchase the effeminate pleasures of weaklings. And yet withal
> bound down by silly customs that make them slaves to their unhappy lot while
> firm in the belief that they be the lords of creation enjoying the only real
> pleasures of existence....
> - the wisdom of Tarzan
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
QGIS Project Steering Committee Member - Release Manager
Visit http://qgis.org for a great open source GIS
openModeller Desktop Developer
Visit http://openModeller.sf.net for a great open source ecological
niche modelling tool
Home Page: http://tim.linfiniti.com
Irc: timlinux on #qgis at freenode.net
More information about the Qgis-developer