Reputation: 29
When i create a qt gui vtk application by Cmake,then i run it with vs 2017.It appears fllowing warning.Any counld tell me how could i cancel this warning?Thank you a lot.enter image description here
Upvotes: -1
Views: 3354
Reputation: 2633
You should use QVTKOpenGLWidget instead.
You can disable deprecation warning if absolutely needed by setting the cmake variable :
VTK_LEGACY_SILENT:ON
Upvotes: 2