araex / mitk-gem

MITK - Generate Models (MITK-GEM) is a free open-source software pipeline to generate finite element models from image data.
https://simtk.org/home/mitk-gem
GNU General Public License v3.0
39 stars 22 forks source link

UGrid Visualization plugin is not correctly packaged on OSX #31

Closed araex closed 7 years ago

araex commented 8 years ago

CPack messes up some of the dependencies of the UGrid Visualization plugin and fails to produce a working .dylib for the package. This means the plugin is not loaded when MITK-GEM is started. Happens on OSX only.

It appears that the problem is related to the dependency to org.mitk.gui.qt.common.legacy which includes Qt SQL support. On OSX (and thus Qt4), this ends up trying to include PostgreSQL which for some reason does not work. PostgreSQL is actually not needed at all, there is 0 dependency on that in all of MITK. The issue would probably be resolved by moving to Qt5.

For now, i don't see an easy solution for this. Qt5 support for OSX is hopefully included in the next MITK release.

araex commented 7 years ago

The update to MITK 2016.03 resolved this as we're now using Qt5 on OSX as well.