Qt 6.11 is out! See what's new in the release
blog
OpenGL + Qt 4.8.4
General and Desktop
2
Posts
1
Posters
901
Views
1
Watching
-
Hello guys...
I'm using Qt 4.8.4 on Windows OS. I'm trying to create an openGL program. I create a widget using ui then promote it into my class which I already derive it from QGLWidget.
I reimplement paintGL, initializeGL. When I try to create a simple GL_QUADS. The result is not what I expected. The quad is so small compared the size of the Widget I created.
Anyone can help me with this?
-
it seems I found the problem.
solved by reimplementing resizeGL with gluPerspective and gluLookAtit seems opengl in windows and linux works differently