[vtkusers] Error linking QVTK

Ben Boeckel ben.boeckel at kitware.com
Wed Aug 10 11:12:38 EDT 2016


On Wed, Aug 10, 2016 at 12:05:29 -0300, Nico Del Piano wrote:
> Hey Cory, thanks for your reply.
> 
> Yes, that option is activated, and I have VTK installed.
> 
> Also, something weird happens, when configuring with cmake, if I try
> to change the version of `qmake` (to 5.7), it changes:
> 
> This is by default:
> QT_QMAKE_EXECUTABLE              /usr/bin/qmake-qt4
> 
> I change to:
> QT_QMAKE_EXECUTABLE              /home/user/Qt/5.7/bin/qmake
> 
> and it goes back automatically:
> QT_QMAKE_EXECUTABLE              /usr/bin/qmake-qt4

There's the VTK_QT_VERSION flag which you need to set to "5" in order to
get Qt5. QT_QMAKE_EXECUTABLE is always a Qt4 variable.

--Ben


More information about the vtkusers mailing list