[Qgis-developer] Tagged kore preview 1

William Kyngesburye woklist at kyngchaos.com
Sat Sep 27 00:45:03 EDT 2008


On Sep 26, 2008, at 11:20 PM, Tom Elwertowski wrote:

> William Kyngesburye wrote:
>> Is there some way for Qgis to force Qt to NOT load plugins from / 
>> Developer?
>
> I put an empty qt.conf file in the bundle's Resources folder. This  
> file can contain paths which override the compiled-in Qt paths. If  
> this file is present, standard search paths are relative to this  
> file rather than the Qt installation location.
>
> Since I use the same tree as Qt for plugins (only imageformats/ 
> libqjpeg.dylib is needed), I don't need to put anything in the file  
> but the file itself lets Qt know not to use installation locations.
>
> This is documented at: http://doc.trolltech.com/4.4/qt-conf.html
>
> Tom


Ah, that works.

I just copied libqjpeg.dylib to Contents/plugins/imageformats, and  
touched Contents/Resources/qt.conf.  Qgis now ignores /Developer Qt  
plugins (at least, it's not crashing now).

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

All generalizations are dangerous, even this one.




More information about the Qgis-developer mailing list