[Kst] Re: OS X plugin directory for non-installed build

Peter Kümmel syntheticpp at gmx.net
Thu Dec 2 18:00:23 CET 2010


On 01.12.2010 20:46, Ted Kisner wrote:
> The DMG bundles work great for installing on OS X.  For development testing, I just run from the build directory and set DYLD_FRAMEWORK_PATH and it works fine (rather than using macdeploykst to put files in /Library/Frameworks).  The one problem is that it does not find the datasources.  The data source files are in build/plugin and also (following what is done in macdeploykst) I copied them to build/bin/kst2.app/Contents/PlugIns.  Neither of these directories is searched by the datasource plugin manager.  I needed to add the attached patch to the search path.
> 
> cheers,
> 
> -Ted

I read about changing the search path in the qt doc
http://doc.trolltech.com/4.7/deployment-mac.html

but ofter having no problems with the dmg I didn't patch the code.

Does the changed of the doc also work?
Is it an advantage to add the plugin path relative to the binary?

Peter


More information about the Kst mailing list