[vtkusers] Problem building VTK with QT 5.7 windows x64

Róbert Špir spir.robert at gmail.com
Sat Sep 3 06:55:15 EDT 2016


no, the default vtk configuration is for qt4, you have to change it to 5 in
cmake VTK->VTK_QT_VERSION and press configure again

Robert

 

From: vtkusers [mailto:vtkusers-bounces at vtk.org] On Behalf Of Libby McCord
Sent: Saturday, September 3, 2016 2:25 AM
To: vtkusers at vtk.org
Subject: [vtkusers] Problem building VTK with QT 5.7 windows x64

 

I have recently downloaded vtk 7.0.  I'm a newbie, and my ultimate goal is
to be able to use QT with the Point Cloud Visualizer.  (Point Cloud 1.8)

 

I'm on a windows 64 bit 10.0 system and will be building on msvc 2015, but
haven't made it to the compilation step yet.  I have installed QT 5.7 from
the online installer from QT.

 

During step 4 of http://www.vtk.org/Wiki/VTK/Building/Windows, I get the
following error during configure:  Does this mean I need to installed QT 4
instead???

 

CMake Error at C:/Program
Files/CMake/share/cmake-3.6/Modules/FindQt4.cmake:1328 (message):
Found unsuitable Qt version "5.7.0" from
C:/Qt/5.7/msvc2015_64/bin/qmake.exe, this code requires Qt 4.x
Call Stack (most recent call first):
GUISupport/Qt/CMakeLists.txt:71 (find_package)

 


 <http://www.vtk.org/Wiki/VTK/Building/Windows> VTK/Building/Windows -
KitwarePublic

www.vtk.org <http://www.vtk.org> 

Building VTK on Windows using Visual Studio (from a zip/tar file) Note: VTK
uses the standard approach for building CMake based projects on Windows.

Can someone help??? 

 

Thanks!

Libby

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160903/e360045b/attachment.html>


More information about the vtkusers mailing list