[vtkusers] A question about QT+VTK

Pablo Rubi pabloarubi at gmail.com
Fri Jul 10 22:23:27 EDT 2015


Try using the "Add Entry" button to create the CMAKE_PREFIX_PATH variable,
and set it to the C:/path/to/qt-5.2.1-install/5.2.1/<your_compiler>.

Source: http://www.vtk.org/Wiki/VTK/Configure_and_Build#Qt5..2A

Sorry I can't be more specific, as I'm doing this from memory. I guessed
the version was the error because one of the errors was found while running
FindQt*4*.cmake.

2015-07-10 23:03 GMT-03:00 15891495523 at 126.com <15891495523 at 126.com>:

> Deal Pablo
>
>         Thank you for your reply.  But, in fact, I can't find the
> VTK_QT_VERSION.
>
>         Is there something wrong with my CMake ?
>
> ZhangQiang
>
>
>
> *From:* Pablo Rubi <pabloarubi at gmail.com>
> *Date:* 2015-07-11 09:46
> *To:* zhq <15891495523 at 126.com>
> *CC:* vtkusers <vtkusers at vtk.org>
> *Subject:* Re: [vtkusers] A question about QT+VTK
> In CMake GUI, there's an Advanced option to enable at the top right
> corner. After enabling it, you should see a variable called VTK_QT_VERSION,
> make sure you have it set as 5.
>
> Have you tried that already?
>
> Regards,
> Pablo
>
> 2015-07-10 21:34 GMT-03:00 zhq <15891495523 at 126.com>:
>
>> Dear all
>>
>>         I want to build a project using QT+VTK. I use the code giving by
>> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Qt/RenderWindowNoUiFile
>>
>>         My computer is: Win7+VS2012+VTK6.0+QT5
>>
>>         When I build the project using CMake, the error appears:
>> <http://vtk.1045678.n5.nabble.com/file/n5732838/1.jpg>
>>
>>          What can I do ?
>>
>>         Thank you in advanced!
>>
>> ZhangQiang
>>
>>
>>
>> --
>> View this message in context:
>> http://vtk.1045678.n5.nabble.com/A-question-about-QT-VTK-tp5732838.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/20150710/c9864dae/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: InsertPic_455F.jpg
Type: image/jpeg
Size: 87317 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150710/c9864dae/attachment-0001.jpg>


More information about the vtkusers mailing list