[vtkusers] Configuring VTK with Qt5

Marcos fotosentido at gmail.com
Tue Jul 21 11:16:36 EDT 2015


Ok, I saw the "Advanced" checkbox in Cmake-gui, and checking it I got the
VTK_QT_VERSION I was looking for.

And then, setting it to 5 resolved the problem.

Thank you again

2015-07-20 22:01 GMT+02:00 Marcos <fotosentido at gmail.com>:

> The thing is I don't see the VTK_QT_VERSION option in Cmake (I remember
> seeing it in older VTK versions).
>
> It fills the QT_QMAKE_EXECUTABLE by itself.
>
> I tried inserting manually the variables
> VTK_QT_VERSION
> QT_DIR
>
> and also setting environment variables.
>
> But it insists on looking for a Qt4 version:
> C:/Qt/5.4/msvc2013_opengl/bin/qmake.exe, this code requires Qt 4.x
>
> If I uncheck VTK_Group_Qt, everything is alright, of course.
> But I need the QT widget.
>
> Thanks for your time.
>
>
> 2015-07-20 21:02 GMT+02:00 Drak <draktharrblorf at gmail.com>:
>
>> see this:
>>
>> http://stackoverflow.com/questions/30892773/building-vtk-with-qt5-windows-8/30894401#30894401
>>
>> change VK_QT_VERSION to 5 in your cmake
>>
>>
>>
>> --
>> View this message in context:
>> http://vtk.1045678.n5.nabble.com/Configuring-VTK-with-Qt5-tp5732998p5732999.html
>> Sent from the VTK - Users mailing list archive at Nabble.com.
>> _______________________________________________
>> 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/20150721/52201ee0/attachment.html>


More information about the vtkusers mailing list