Monday, 12 August 2013

Disable QPainter unwanted Shader compilation

Disable QPainter unwanted Shader compilation

I'm trying to use this sample from Qt Documentation :
http://qt-project.org/doc/qt-5.0/qtgui/openglwindow.html
but I don't know why when using this line :
QPainter painter( m_device ) ;
It tries to compile two shaders ( simpleShaderProg and blitShaderProg ).
Does anybody know how to disable this behaviour ?

No comments:

Post a Comment