How to get GPU information using QT and VTK?

import qt is how you will use PythonQt in Slicer. Pyside is not used as Pyside6 is actually for Qt6 and Slicer still uses Qt5.