[vtkusers] Problem building VTK with QT 5.7 windows x64

Libby McCord libby.mccord at ceptontech.com
Mon Sep 5 01:35:54 EDT 2016


Thanks for your help!

Doing both these things + setting QT5_DIR to C:\Qt\Qt5.7.0\5.7\msvc2015_64\lib\cmake\Qt5 did the trick.  [😊]


Libby

________________________________
From: Leonid Dulman <leonid_dulman at yahoo.co.uk>
Sent: Saturday, September 3, 2016 4:49:46 AM
To: Libby McCord; vtkusers at vtk.org
Subject: Re: [vtkusers] Problem building VTK with QT 5.7 windows x64

Try to do next in CmakeLists.txt

# Qt5 need to add
set(CMAKE_PREFIX_PATH $ENV{HOME}"E:/Qt/5.6")

project(VTK)
Leonid


________________________________
From: Libby McCord <libby.mccord at ceptontech.com>
To: "vtkusers at vtk.org" <vtkusers at vtk.org>
Sent: Saturday, September 3, 2016 3:25 AM
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)

VTK/Building/Windows - KitwarePublic<http://www.vtk.org/Wiki/VTK/Building/Windows>
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

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160905/db0ec841/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OutlookEmoji-?.png
Type: image/png
Size: 488 bytes
Desc: OutlookEmoji-?.png
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160905/db0ec841/attachment.png>


More information about the vtkusers mailing list