I’ve a 2D instead of 3D screen when using QOpenGLWidget
I tried to add a 3D widget to an existing widget and added some rendering, but the problem is that when I run the code, I see no cube, just a simple rectangle.
I tried to add a 3D widget to an existing widget and added some rendering, but the problem is that when I run the code, I see no cube, just a simple rectangle.