[vtkusers] Wiki CMakeListsFileForQT4

curator curator at gmx.de
Wed Aug 21 09:43:23 EDT 2013


Hi Zweistein,

I think ${VTK_LIBRARIES} is correct, because you are trying to build an 
VTK6 project. As far as I know, is somethink with QVTK the correct 
notation for vtk 5.*.
I think the example is writte for vtk 5, which is resonable as the 
footer says
> This page was last modified on 1 July 2010, at 09:17.
Hence, I guess it should be updated for VTK6

regards,
curator

Am 21.08.2013 15:36, schrieb Zweistein:
> Hello,
>
> Right here,
> http://www.vtk.org/Wiki/VTK/Tutorials/CMakeListsFileForQt4
> it is written to use
> target_link_libraries(application  ${QT_LIBRARIES} QVTK )
>
> However, i get the error cannot find "QVTK.lib". But when i use
> target_link_libraries(application  ${QT_LIBRARIES} ${VTK_LIBRARIES})
> it works fine.
>
> Qt 4.8.5
> VTK 6.0
>
> Does this need to be upgraded?
>
> Best regards
>
>
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/Wiki-CMakeListsFileForQT4-tp5722939.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
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers




More information about the vtkusers mailing list