I have a small OpenGL xCode project.
It consists of ~ 7 classes and provides ~5 functions.
I want to port this project from xCode to Qt.
The good news is that you don't need to change the openGL code to the QOpenGL classes, for example.
I.e. you can use the code as it.
The main task will be, I guess, on the main window.
Qt provides QOpenGLWidget that can be used as a canvas so you will need to change the xCode main window to the Qt mainwindow.
Hope you find that interesting!