The problems comes from a Qt plugins that adds the GTK+ style to the application. This plugin is installed on some systems and is used for default style when a Qt application is started from a Gnome desktop. Using this plugin may crash the application because BrainVISA provides its own Qt that is different from the one installed on the system. We have not yet found a way to ask to Qt not to use this plugin, there must be some hard coded plugin path somewhere that cannot be removed even if the plugins paths is set in qt.conf.
The work around is to force the style of the application. You can do that by a command line option, for example :
Code:
anatomist -style Cleanlooks
brainvisa -style Windows
BrainVISA will complain about the parameters but you can ignore this message.
To make this permanent for a user, you can use the following program :
Code:
/path-to-brainvisa-pack/bin/qtconfig -style Cleanlooks
You can choose any style you want
except GTK+ and then save. The problem of this method is that the style will be applied to all Qt applications. We will have to find a way to make it permanent for BrainVISA application only...