created a QT widget with opengl context
moved to qwindow for opengl context