[Qt-interest] QGraphicsView, viewPort in OpenGL and Qt Style Sheet
Alexandre Parent
barbak at gmail.com
Fri Dec 4 14:36:30 CET 2009
Hi all,
I am currently facing an odd problem.
I have implemented a QGraphicsView for displaying images (currently
QGraphicsPixmapItem are displayed)
When I set the style sheet for my applications everything works fine.
(I have the styles applied correctly)
The problem I am facing is when I set up the viewport of my
QGraphicsView to a QGLWidget, some strange garbages appeared to the
background and the style is ignored.
If I remove the style, the opengl is reacting has expected.
Someone has been facing the same problem ?
Ps: I have tested this behaviour with qt 4.5 and 4.6, compiling with
GCC (3.4.5, 4.4.0) and the Visual Compiler.
More information about the Qt-interest-old
mailing list