[vtk-developers] Building VTK with QT5.4 Windows 8

Lonni Besançon lonni.besancon at gmail.com
Wed Jun 17 09:14:06 EDT 2015


Hello,

I'm facing a rather weird error. I can see on the wiki that we can build vtk
with support for qt5. However, when trying to do so and first configuring
with cmake I get the following output:

CMake Error at C:/Program Files
(x86)/CMake/share/cmake-3.2/Modules/FindQt4.cmake:1326 (message):
  Found unsuitable Qt version "5.4.2" from
  C:/Qt/5.4/msvc2012_opengl/bin/qmake.exe, this code requires Qt 4.x
Call Stack (most recent call first):
  GUISupport/Qt/CMakeLists.txt:71 (find_package)

I have tried to set CMAKE_PREFIX_PATH to C:/Qt/5.4/msvc2012_opengl/ and
QT_QMAKE_EXECUTABLE to C:/Qt/5.4/msvc2012_opengl/bin/qmake.exe

And yet it doesn't work. Does anyone have an explanation for that?



--
View this message in context: http://vtk.1045678.n5.nabble.com/Building-VTK-with-QT5-4-Windows-8-tp5732403.html
Sent from the VTK - Dev mailing list archive at Nabble.com.


More information about the vtk-developers mailing list