# QVTKInteractorAdapter Deprecation issues

**URL:** https://discourse.vtk.org/t/qvtkinteractoradapter-deprecation-issues/3381
**Category:** Support
**Created:** [May 23, 2020, 3:53am UTC](https://discourse.vtk.org/t/qvtkinteractoradapter-deprecation-issues/3381 "2020-05-23T03:53:05Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ilandaniele](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/i/71c47a/32.png) [@ilandaniele](https://discourse.vtk.org/u/ilandaniele)
#### Post date: [May 23, 2020, 3:53am UTC](https://discourse.vtk.org/t/qvtkinteractoradapter-deprecation-issues/3381/1 "2020-05-23T03:53:05Z")

</div>

As it says in the deprecated list:  
Member [QVTKOpenGLWindow::GetInteractorAdapter] in VTK 9.0 [QVTKInteractorAdapter] is an internal helper.  
My project was made in VTK 8.1 version.However, due to some issues, we needed to make use of newer version of VTK. And use was made of methods:

QVTKInteractorAdapter::SetDevicePixelRatio(float ratio, vtkRenderWindowInteractor\* iren)  
QVTKInteractorAdapter::GetInteractorAdapter();

I can’t run my project since it says “QVTKOpenGLWindow.cxx:329 WARN| QVTKOpenGLWindow::GetInteractorAdapter was deprecated for VTK 9.0 and will be removed in a future version”.  
Which is the correct replacement for this methods?  
Best regards.
