<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Jean,<div class=""><br class=""></div><div class="">Thanks for your explanation and endeavour on the improvement! They are very helpful, I will test and use them.</div><div class=""><br class=""></div><div class="">Cheers,</div><div class="">Quentan</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 30 Apr 2015, at 07:14, Jean-Christophe Fillion-Robin <<a href="mailto:jchris.fillionr@kitware.com" class="">jchris.fillionr@kitware.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_extra">Hi Quentan, <br class=""><br class=""></div><div class="gmail_extra"><div class="gmail_quote">On Fri, Mar 27, 2015 at 10:58 AM, Quentan Qi <span dir="ltr" class=""><<a href="mailto:quentan@gmail.com" target="_blank" class="">quentan@gmail.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="">I recompiled CTK using the latest VTK 6.2.0 and it works well. No glitch complains from that example any more. </div></blockquote><div class=""><br class=""></div><div class="">Great.<br class=""></div><div class=""> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=""><br class=""></div><div class="">But the Qt widgets `ctkVTKRenderView` and `ctkVTKSliceView`, which come from library file `Qt\plugin\designer\libCTKVisualizationVTKWidgetsPlugins.so`, fail to work and crash Qt Designer. All the other widgets work correctly. This may not be a serious problem.</div></blockquote><div class=""><br class=""></div><div class="">If you have a debug build of Qt, you could also build CTK in Debug and attach the debugger to Qt Designer. That should allow you to identify the origin of the crash.<br class=""></div><div class=""> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=""><br class=""></div><div class="">I’m now running on OS X 10.10 with VTK 6.2.0 and Qt 4.8.6. I also wonder when CTK can work with Qt 5, because VTK is quite compatible with it but I failed to compile CTK with VTK 6.2.0 bundled with Qt 5.2.1.</div></blockquote><div class=""><br class=""></div><div class="">CTK master should now support building against Qt5. You should be able to set the option CTK_QT_VERSION to 5<br class=""></div><div class="">See <a href="https://github.com/commontk/CTK/blob/e4e9cc326d4ab603785267defebcdcbf514d429d/CMake/ctkMacroSetupQt.cmake#L23-L26" class="">https://github.com/commontk/CTK/blob/e4e9cc326d4ab603785267defebcdcbf514d429d/CMake/ctkMacroSetupQt.cmake#L23-L26</a><br class=""></div></div><br class=""></div><div class="gmail_extra">Hth<br class=""></div><div class="gmail_extra">Jc<br class=""></div><div class="gmail_extra"><br class=""><br clear="all" class=""><br class="">-- <br class=""><div class="gmail_signature">+1 919 869 8849<br class=""></div>
</div></div>
</div></blockquote></div><br class=""></div></body></html>