Standard QT QPainter class doesn't work!
Code: Select all
void GLWidget::paintEvent(QPaintEvent *event){
QPainter painter(this);
}
Vertex shader for simpleShaderProg (MainVertexShader & PositionOnlyVertexShader) failed to compile
Fragment shader for simpleShaderProg (MainFragmentShader & ShockingPinkSrcFragmentShader) failed to compile
QGLShaderProgram: shader programs are not supported
Segmentation fault
You can meet this problem also with the standard QT openGL Examples:
/usr/lib64/qt4/examples/opengl/2dpainting (http://doc.qt.nokia.com/latest/opengl-2dpainting.html)
/usr/lib64/qt4/examples/opengl/overpainting (http://doc.qt.nokia.com/latest/opengl-overpainting.html)
and some others that use QPainter class.
So I am using openSuse x64 guests with latest VB 4.0.10 and latest GA under Windows 7 x86 host. I have tested this problem on openSuse 11.3, 11.4, 12.1ms2 guests with different QT versions 4.6, 4.7, 4.8, but without success, the same problem everywhere. But on openSuse x86 11.1 guest with QT 4.3 it partially works! The problem does not occur at all on linux hosts, so under any non virtualized openSuse with any QT version QPainter class is working fine.
I am developing QT GL visualization program and I need put some text over my 3d, but I am not able to do it since this issue!
Thanks in advance!