Beta binary

Dirk Hohndel dirk at hohndel.org
Thu Nov 28 10:25:21 UTC 2013


On Thu, 2013-11-28 at 10:21 -0800, Thiago Macieira wrote:
> On quinta-feira, 28 de novembro de 2013 15:34:18, Robert Helling wrote:
> > in fact, that plugin was not in the dmg. It somehow used the marble libs
> > from /usr/local/lib. After deleting those it works. Thanks a lot!
> 
> Dirk and I spent almost two hours yesterday fighting issues that were related 
> to Marble loading plugins from other locations. Whenever it finds plugins that 
> it wasn't supposed to load, it also loads another copy of Qt, which will crash 
> somewhere. Your case was because the atmosphere plugin's constructor 
> constructed a QPixmap and that's what crashed.
> 
> Looks like MarbleWidget hardcodes some paths during its build and will find the 
> plugins.
> 
> Dirk, I suggest a simple workaround: pass 
> 	-DCMAKE_INSTALL_PREFIX=/dev/null/doesnt/exist

Fun.

> Since we don't actually use the make install functionality, this will mean no 
> plugins are ever found.

We are using no plugins at all? Then why not just manually disable
Marble's plugin loader? That seems much safer and more reliable.
I don't mind carrying patches to Marble in our sources.

/D



More information about the subsurface mailing list