[vtkusers] CMake problem (VTK 6.1 - Qt 5.3)

Kim Rosenbohm kim.rosenbohm at posteo.de
Tue Jul 29 17:56:55 EDT 2014


Hi Luis.

Try toggling "Advanced" in the CMake GUI. There is a Qt4/Qt5 switch 
hidden there somewhere...
I have successfuly compiled VTK 6.1.0 with Qt 5.2.1, so 5.3 should work, 
but I have never tried it with CMake 3...

Best Regards,

Kim

Am 29.07.2014 19:28, schrieb Luis Vieira:
>
> Hi. I am beginner with Qt and VTK. Then,  I will let you how I have 
> doing. I have been working with Qt 5.3.1 and VS2013 perfectly. Last 
> week I tried to set up VTK 6.1 with VS2013 through CMake 3.0 and works 
> perfectly. As well you could see below.  Now, I am try to enable VTK 
> with Qt 5.3.1 through CMake. However, whatever I do to set VT_QT 
> options my CMake only found Qt4 through this file FindQt4.cmake in my 
> C:\Program Files (x86)\CMake\share\cmake-3.0\Modules. I am pretty sure 
> that it's the problem.
>
>
>
> *CMAKE_INSTALL_PREFIX : C:/Program Files/VTK/buildQt**
> **CMAKE_PREFIX_PATH: C:/Qt/Qt5.3.1/5.3/msvc2013_64_opengl/bin*
> *VTK_Group_Qt:BOOL=ON;**
> QT_QMAKE_EXECUTABLE:FILEPATH=C:/Qt/Qt5.3.1/5.3/msvc2013_64_opengl/bin/qmake.exe. 
>
> *
>
>
>
>
>
> Where I could change that?
> "The first thing that have the first time that compile vtk with qt 
> module is that I have to change the flag to qt 5 and erase the flags 
> of qt 4, and  then I configure again, and is ready."
>
> Thank you.
>
>
>
> _______________________________________________
> 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
>
> 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/20140729/02e979ea/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 66844 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20140729/02e979ea/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 75255 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20140729/02e979ea/attachment-0003.png>


More information about the vtkusers mailing list