[vtkusers] How to get VTK 7 working with Qt 5.6
Snels Nick
nicksnels at yahoo.com
Tue May 17 03:00:09 EDT 2016
Hi,
I’m trying to generate a VTK7 build for Visual Studio 2015 64bit using the
latest version of CMake. I am following the instructions on
http://www.vtk.org/Wiki/VTK/Configure_and_Build .
I can generate using the default options. However I need VTK to work with Qt
5.6 . So I have checked VTK_Group_Qt and added the entry CMAKE_PREFIX_PATH
and set it to C:/Qt/5.6/msvc2015_64
When I click generate, I get an error:
CMake Error at C:/Program Files
(x86)/CMake/share/cmake-3.5/Modules/FindQt4.cmake:1326 (message):
Found unsuitable Qt version "5.6.0" from
C:/Qt/5.6/msvc2015_64/bin/qmake.exe, this code requires Qt 4.x
Call Stack (most recent call first):
GUISupport/Qt/CMakeLists.txt:71 (find_package)
What am I doing wrong? Thanks.
Kind regards,
Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160517/3d1e253a/attachment.html>
More information about the vtkusers
mailing list