Re: [Development] QOpenGLContext::currentContext()->functions()->glCreateShader(GL_VERTEX_SHADER) returns 0

2015-01-24 Thread Dov Grobgeld
amples/quick. These all > require OpenGL 2.0. > > > BR, > > Laszlo > > > > ------ > *From:* development-bounces+laszlo.agocs=theqtcompany@qt-project.org > on > behalf of Dov Grobgeld > *Sent:* Saturday, January 24, 2015 5:34 PM > *To:* devel

[Development] QOpenGLContext::currentContext()->functions()->glCreateShader(GL_VERTEX_SHADER) returns 0

2015-01-24 Thread Dov Grobgeld
I'm trying to write a cross platform OpenGL application. It is currently working both on Linux and on Windows when I'm working at the actual computer, but it fails when trying to run the application under the remote desktop rdp protocol from Windows to Linux. I traced down the failure to the fact t

Re: [Development] OpenGL sluggishness on Qt5 vs Qt4

2014-11-22 Thread Dov Grobgeld
Thanks Reaud and Mathew! The s/update/updateGL/ fixed the problem! Btw, I initially copied the use of updateGL() from .../examples/opengl/hellogl/glwidget.cpp, which still (git HEAD) uses it. Shouldn't this be changed for the same reason as well? Regards, Dov On Fri, Nov 21, 2014 at 11:39 PM, Ma

Re: [Development] OpenGL sluggishness on Qt5 vs Qt4

2014-11-20 Thread Dov Grobgeld
n Thursday 20 November 2014 10:13:26 Dov Grobgeld wrote: > > > Will it help if I create a minimum program reproducing the problem? > > I can't comment on your actual problem, but yes, this is definitely the > way to go... > > _

[Development] OpenGL sluggishness on Qt5 vs Qt4

2014-11-20 Thread Dov Grobgeld
Hello. This is my first post to this list, so if there is another forum more suited, please let me know. I'm writing a QT application that includes a viewer for 3D-models. I got the same code (with an ifdef for includes) running under both qt4 and qt5 in Linux. The program loads a model of about ~