[vtkusers] vtk and Qt4.6 build problems

John Drescher drescherjm at gmail.com
Mon Jun 7 12:35:05 EDT 2010


> Could vtk 5.6 be built with Qt4.6?

Yes, I use vtk-5.6 with Qt-4.6 every day..

> It would be great to mention the Qt version on the download page for vtk.
> I cannot find vtk requirements for Qt :-(
>
> I am getting linking errors
> Linking CXX executable ../../../bin/GraphicsCxxTests
> ../../../bin/libvtkRendering.so.5.6.0: undefined reference to
> `QMapData::createData(int)'
> ../../../bin/libvtkRendering.so.5.6.0: undefined reference to
> `QPainter::drawImage(QPointF const&, QImage const&)'
> ../../../bin/libvtkRendering.so.5.6.0: undefined reference to
> `QMapData::node_create(QMapData::Node**, int, int)'
> ../../../bin/libvtkRendering.so.5.6.0: undefined reference to
> `QTextDocument::setDocumentMargin(double)'
>
>
> I do not know if it is my problem or vtk 5.6 is not meant for Qt 4.6
>
Are you compiling or just downloading vtk. I would compile vtk.

John



More information about the vtkusers mailing list