[Qgis-developer] Build plugins for use with Mac binary

Peter Ersts ersts at amnh.org
Wed Jan 21 09:09:25 EST 2009


Howdy Mac folks.

I am a Mac idiot and I could use a little guidance. I am trying to build 
one of our plugins for use with the 'all in one' OSX bundle. For past 
releases I have been successful but I just can't seem to get it right 
for the v1.0.0 release.

I am using the frameworks from the kyngchaos site. I can build QGIS ( 
using Branches/Release-1_0_0 ) just fine and the plugin works just fine 
for my own build of QGIS.

I have attached an otool dump of the v1.0.0 distribution's north arrow 
plugin and my packaged plugin for reference. The only things that jump 
out at me are :
libnortharrowplugin.so:
    @executable_path/lib/libqgis_core.1.0.dylib (compatibility version 
0.0.0, current version 0.0.0)
    @executable_path/lib/libqgis_gui.1.0.dylib (compatibility version 
0.0.0, current version 0.0.0)
    @executable_path/lib/libgeos_c.1.dylib (compatibility version 6.0.0, 
current version 6.2.0)

vs.

libevis.so:
    @executable_path/lib/libqgis_core.1.0.dylib (compatibility version 
1.0.0, current version 1.0.0)
    @executable_path/lib/libqgis_gui.1.0.dylib (compatibility version 
1.0.0, current version 1.0.0)
    @executable_path/lib/libgeos_c.1.dylib (compatibility version 4.0.0, 
current version 4.0.3)


In the past I have problem when the QT libs did not match exactly. Any 
suggestions?

thanks
-pete

-- 
====================================
Peter J. Ersts, Project Specialist
American Museum of Natural History
Center for Biodiversity and Conservation
Central Park West at 79th Street
New York, New York 10024
Tel: Home Office (518)-632-4745 or NYC Office (212)-496-3488
Web: http://biodiversityinformatics.amnh.org
Web: http://cbc.amnh.org

Quantum GIS Raster Development Team. Visit http://www.qgis.org
to learn more about QGIS, a free and open source desktop GIS

Open Source,
...evolving through community cooperation to change the world bit by bit

-------------- next part --------------
libnortharrowplugin.so:
	@executable_path/lib/libqgis_core.1.0.dylib (compatibility version 0.0.0, current version 0.0.0)
	@executable_path/lib/libqgis_gui.1.0.dylib (compatibility version 0.0.0, current version 0.0.0)
	@executable_path/lib/QtCore.framework/Versions/4/QtCore (compatibility version 4.4.0, current version 4.4.3)
	@executable_path/lib/QtGui.framework/Versions/4/QtGui (compatibility version 4.4.0, current version 4.4.3)
	@executable_path/lib/QtXml.framework/Versions/4/QtXml (compatibility version 4.4.0, current version 4.4.3)
	@executable_path/lib/QtSvg.framework/Versions/4/QtSvg (compatibility version 4.4.0, current version 4.4.3)
	@executable_path/lib/QtNetwork.framework/Versions/4/QtNetwork (compatibility version 4.4.0, current version 4.4.3)
	@executable_path/lib/libproj.0.dylib (compatibility version 6.0.0, current version 6.5.0)
	@executable_path/lib/libgeos_c.1.dylib (compatibility version 6.0.0, current version 6.2.0)
	@executable_path/lib/libgdal.1.dylib (compatibility version 15.0.0, current version 15.0.0)
	@executable_path/lib/libsqlite3.0.dylib (compatibility version 9.0.0, current version 9.6.0)
	/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.3.9)

libevis.so:
	@executable_path/lib/QtSvg.framework/Versions/4/QtSvg (compatibility version 4.4.0, current version 4.4.3)
	@executable_path/lib/QtGui.framework/Versions/4/QtGui (compatibility version 4.4.0, current version 4.4.3)
	/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 136.0.0)
	/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 949.0.0)
	@executable_path/lib/QtXml.framework/Versions/4/QtXml (compatibility version 4.4.0, current version 4.4.3)
	@executable_path/lib/QtSql.framework/Versions/4/QtSql (compatibility version 4.4.0, current version 4.4.3)
	@executable_path/lib/QtNetwork.framework/Versions/4/QtNetwork (compatibility version 4.4.0, current version 4.4.3)
	/usr/lib/libssl.0.9.7.dylib (compatibility version 0.9.7, current version 0.9.7)
	@executable_path/lib/QtCore.framework/Versions/4/QtCore (compatibility version 4.4.0, current version 4.4.3)
	/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
	@executable_path/lib/libqgis_core.1.0.dylib (compatibility version 1.0.0, current version 1.0.0)
	@executable_path/lib/libqgis_gui.1.0.dylib (compatibility version 1.0.0, current version 1.0.0)
	@executable_path/lib/libgeos_c.1.dylib (compatibility version 4.0.0, current version 4.0.3)
	@executable_path/lib/libgdal.1.dylib (compatibility version 15.0.0, current version 15.0.0)
	/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.0.0)



More information about the Qgis-developer mailing list