It seems I have fixed the problems.
So just let me know if you want to integrate my changes.

Rostislav.

On 30/09/2015 17:02, Rostislav Khlebnikov wrote:
> Hi guys,
>
> after A LOT of pain, I have managed to integrate matplotlib to be used
> in MITK (including superbuild integration).
> This involved changing python-cmake used to head (for _ctypes to be
> compiled correctly), changing PythonQt to correctly include the wrappers
> of Qt functionality for Qt5 (not just builtins, but the rest of it),
> hacking into CTK to correctly propagate the wrapping and some more pain.
>
> Anyway, I've got it working (apart from manual lib-dynload stuff
> mentioned in previous e-mail).
> Now it's possible to create a Qt widget displaying matplotlib graphs
> from python code (i.e. from MITK's python plugin).
>
> There are some weird problems still - for example saving figure to file
> ("savefig" method) crashes if executed from MITK workbench. The same
> code executed using python.exe built by MITK works smoothly however.
>
> So guys, in case you are interested in this, let me know. I also hope
> you might help me sort out the remaining problems.
>
> Rostislav.
>
> ------------------------------------------------------------------------------
> _______________________________________________
> mitk-users mailing list
> mitk-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mitk-users


------------------------------------------------------------------------------
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to