<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt">VTK 5.10.1 works fine with Qt 5.0.1 but need to do several changes<br>I built it for win32 (VC 2010) and x86 in Debian 7<br><div><span></span></div><div><br></div> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Kevin Funk <kevin.funk@kdab.com><br> <b><span style="font-weight: bold;">To:</span></b> vtkusers@vtk.org <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, March 8, 2013 11:48:08 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [vtkusers] Build vtk 5.10.1 againt qt 5.0.1<br> </font> </div> <br>On Wednesday 06 March 2013, 17:26, Curator wrote:<br>>
Dear all,<br>> <br>> as the title says, ich am trying to build vtk (with VTK_USE_QT=true).<br>> Unfortunatly, that doesn't work out of the box.<br>> <br>> Ich modified the CMake Files of VTKby exchanging<br>> <br>> FindPackage(Qt4)<br>> by<br>> FindPackage(Qt5Gui REQUIRED)<br>> FindPackage(Qt5Declarative REQUIRED)<br>> FindPackage(Qt5Webkit REQUIRED)<br>> FindPackage(Qt5OpenGL REQUIRED)<br>> FindPackage(Qt5Xml REQUIRED)<br>> FindPackage(Qt5Transitional REQUIRED)<br>> <br>> (snip)<br><br>Hey,<br><br>VTK simply doesn't work with Qt5 atm, at least in version 5.10.1.<br><br>(Easy to verify, because QVTKWidget.h still references QtGui/* includes, they <br>are no longer valid in Qt5).<br><br>also see [1] and [2].<br><br>[1] <a href="http://www.vtk.org/pipermail/vtkusers/2013-January/127002.html" target="_blank">http://www.vtk.org/pipermail/vtkusers/2013-January/127002.html</a><br>[2] <a
href="http://vtk.org/Bug/view.php?id=12945" target="_blank">http://vtk.org/Bug/view.php?id=12945</a><br><br>-- <br>Kevin Funk | <a ymailto="mailto:kevin.funk@kdab.com" href="mailto:kevin.funk@kdab.com">kevin.funk@kdab.com</a> | Software Engineer<br>KDAB (Deutschland) GmbH&Co KG, a KDAB Group company<br>Tel. Germany +49-30-521325470, Sweden (HQ) +46-563-540090<br>KDAB - Qt Experts - Platform-independent software solutions<br>_______________________________________________<br>Powered by www.kitware.com<br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br><br>Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers"
target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br><br><br> </div> </div> </div></body></html>