[vtkusers] Build vtk 5.10.1 againt qt 5.0.1

Kevin Funk kevin.funk at kdab.com
Fri Mar 8 04:48:08 EST 2013


On Wednesday 06 March 2013, 17:26, Curator wrote:
> Dear all,
> 
> as the title says, ich am trying to build vtk (with VTK_USE_QT=true).
> Unfortunatly, that doesn't work out of the box.
> 
> Ich modified the CMake Files of VTKby exchanging
> 
> FindPackage(Qt4)
> by
> FindPackage(Qt5Gui REQUIRED)
> FindPackage(Qt5Declarative REQUIRED)
> FindPackage(Qt5Webkit REQUIRED)
> FindPackage(Qt5OpenGL REQUIRED)
> FindPackage(Qt5Xml REQUIRED)
> FindPackage(Qt5Transitional REQUIRED)
> 
> (snip)

Hey,

VTK simply doesn't work with Qt5 atm, at least in version 5.10.1.

(Easy to verify, because QVTKWidget.h still references QtGui/* includes, they 
are no longer valid in Qt5).

also see [1] and [2].

[1] http://www.vtk.org/pipermail/vtkusers/2013-January/127002.html
[2] http://vtk.org/Bug/view.php?id=12945

-- 
Kevin Funk | kevin.funk at kdab.com | Software Engineer
KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
Tel. Germany +49-30-521325470, Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-independent software solutions



More information about the vtkusers mailing list