Hi everyone,

Following my last month questions and with your help, I did manage to
install MITK 2015.05.2 using Qt4 on a new iMac. However, a few days ago I
updated the OSX El Capitan with a new security update and had to rebuild my
MITK plugins to update few changes I had in my code. Since, then I have
been facing strange problems, first of all the same MITK code was not
building again throwing errors at:

Modules/MapperExt/src/mitkUnstructuredGridMapper2D.cpp
Modules/MapperExt/src/vtkMitkOpenGLVolumeTextureMapper3D.cpp

Complaining about using delete[] for arrays in these two files, which I
thought might be due to a change in the OSX c++ compiler after the update.
So, I manually updated these two files and have noticed that in the nightly
version of MITK the same changes have been done. Following this, the code
actually gets built and runs normally but a strange crash happens when I
try to use the DICOM plugin and load a DICOM into the viewer. The
application crashes and quits. Are these events anyhow related?

I also tried to build MITK from scratch using the current developing branch
but it seemed that it is not stable yet as the code did not compile. Can
anyone please shed some light on these? Because, I think I am running out
of options to test.

Many thanks
Dora


On Tue, Mar 15, 2016 at 1:49 PM, Kislinskiy, Stefan <
s.kislins...@dkfz-heidelberg.de> wrote:

> Hi Matt,
>
> according to our CMake scripts we require 5.0 (you may stop reading here)
> and I found two places in MITK where there are additional minor features
> available if the Qt version is at least 5.2 (things like a clear button in
> a QLineEdit, so nothing to worry about). However, I was informed a few
> minutes ago, that there is a mouse event compression issue on some Linux
> configurations with Qt < 5.6. Sigh. Of course, we do not support Qt 5.6 yet
> as they dropped QtWebKit in favor of QWebEngine. But even implementing Qt
> 5.6 support would mean that we need to upgrade VTK to version 7 as well…
> That was actually planned to happen after the upcoming release. Double-sigh.
>
>
>
> Best,
> Stefan
>
>
>
> *From:* Clarkson, Matt [mailto:m.clark...@ucl.ac.uk]
> *Sent:* Dienstag, 15. März 2016 14:14
> *To:* Kislinskiy, Stefan
> *Cc:* MITK
>
> *Subject:* Re: [mitk-users] Rebuilding on Mac
>
>
>
> Hi Stefan,
>
>
>
> what version of Qt will become the standard?
>
> Thanks
>
>
>
> Matt
>
>
>
>
>
> On 15 Mar 2016, at 12:16, Kislinskiy, Stefan <
> s.kislins...@dkfz-heidelberg.de> wrote:
>
>
>
> Hi Dora,
> Hi everyone else,
>
>
>
> just to let you know, Andreas fixed the Qt 5 OS X bug the last weekend :-)
> and I removed Qt 4 support from MITK today. So if you’re planning to use
> the next MITK release I would recommend not to put too much effort into Qt
> 4 related bugs anymore.
>
>
>
> Best,
> Stefan
>
>
>
> *From:* Kislinskiy, Stefan [mailto:s.kislins...@dkfz-heidelberg.de
> <s.kislins...@dkfz-heidelberg.de>]
> *Sent:* Freitag, 11. März 2016 12:36
> *To:* Admin Uniapp; mitk-users@lists.sourceforge.net
> *Subject:* Re: [mitk-users] Rebuilding on Mac
>
>
>
> Hi Dora,
>
>
>
> unfortunately the OS X Qt 5 bug seems to be one of the top 5 most
> difficult bugs to track down in the whole history of mankind… and
> dinosaurs. :-) / :-( Every time someone thinks she or he has found a hot
> scent on what is causing the problem, it’s a red herring. It’s just
> ridiculous. We planned to remove Qt 4 support the last release and this was
> the only blocker for actually doing this. We postponed the Qt 4 removal for
> the upcoming release and unfortunately, it seems like we won’t make it
> again. Believe us, if we could fix this bug by sacrificing cute little
> bunnies, we would do it! – No kittens though… kittens are sacrosanct.
>
>
>
> That’s why we set DESIRED_QT_VERSION to 4 by default on OS X. We have a
> bug branch for the upcoming release that will introduce a configure error
> when setting this cache variable to 5 on OS X in case we won’t make it
> again. We also have a – pretty old – bug branch for Qt 4 removal. So we’re
> prepared for both denouements.
>
>
>
> Anyways, your QtWidgets based GUI shouldn’t look different on Qt 4 / 5.
> Try to fix it with Qt 4 and then look at it again with Qt 5, there
> shouldn’t be any difference at runtime. All differences we experienced were
> incompatibilities in the Qt API which result in compiler errors (in this
> case fix by checking QT_VERSION and handle both cases).
>
>
>
> The vanishing of the department logo is strange, though, as it doesn’t
> have anything to do with Qt… as far as I know. I guess it’s a VTK overlay.
> Last year we fixed code related to the department logo, maybe you are
> comparing two different versions of MITK?
>
>
>
> Best regards,
> Stefan
>
>
>
> *From:* Admin Uniapp [mailto:contactuni...@gmail.com
> <contactuni...@gmail.com>]
> *Sent:* Freitag, 11. März 2016 11:28
> *To:* mitk-users@lists.sourceforge.net
> *Subject:* Re: [mitk-users] Rebuilding on Mac
>
>
>
> Hi everyone,
>
> I was wondering if anybody had any experience of what I described in my
> last message. Would really appreciate any thoughts/help on this, please.
>
> Many thanks.
>
> Dora
>
>
>
> On Tue, Mar 8, 2016 at 11:13 AM, Admin Uniapp <contactuni...@gmail.com>
> wrote:
>
> Dear all,
>
> I have an MITK application with custom plugins that I developed and built
> originally on Linux but now I need to rebuild it on an iMac machine. First
> of all, I realised that to build MITK on Mac, Qt 5 is not suitable as I
> tried and it seemed to have problems with mouse interactions within the
> workbench views (none of the buttons in the views were responding to the
> mouse clicks). I had to therefore downgrade to Qt 4 which looks to be
> working OK with the MITK application. This problem with Qt versions is not
> very clear on MITK build documentations, as I think the documentation
> online suggests to use Qt 5 for all platforms.
>
> My problem with the version built on iMac is now mostly the looks of the
> GUI. The buttons in my custom view are all squashed together. It is still
> usable but not very user friendly. Also, the department logo is not
> displaying in the bottom corner any more. I was wondering if anyone has any
> experience similar to these issues. Are these due to the older version of
> Qt that I had to use?
>
> Many thanks in advance.
>
> Dora
>
>
>
>
> ------------------------------------------------------------------------------
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140_______________________________________________
> mitk-users mailing list
> mitk-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mitk-users
>
>
>
>
> ------------------------------------------------------------------------------
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
> _______________________________________________
> mitk-users mailing list
> mitk-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mitk-users
>
>
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to