PDA

View Full Version : Using OpenGL on QGraphicsView



strateng
30th March 2010, 01:55
Hey,

I was working off code which was given as an example by JohannesMunk on the following thread
http://www.qtcentre.org/threads/29236-Displaying-a-QImage-through-pixels-and-QGraphicsView

I attempted using OpenGL to draw the pixel images with the following code



QGraphicsView.setViewPort(new QGLWidget())


However I was given the following error when I attempted to run the program:

WARNING: Application calling GLX 1.3 function "glXCreatePixmap" when GLX 1.3 is not supported! This is an application bug!
failed to create drawable

Can anyone help me with this problem?

Thanks,
Strateng