PDA

View Full Version : QPainter and GL_SELECT



ddpro
18th September 2010, 04:36
Hi,

is it basically possible to use the openGL selection buffer mechanism in conjunction with QPainter (within qglwidget with paintengine set to openGL)? For instance, i want to draw a QPainterPath and use GL_SELECT to determine wheter or not the path is under the mouse cursor.

wysota
18th September 2010, 07:42
You may just try it and see for yourself. I think it should be possible.