Re: [Interest] Problems with OpenGL in Windows and Qt5

2014-03-22 Thread Carlos
Hello Till The expected result is a black background with two small rectangles (yellow and green) in the upper left of the display. This is what I get with Qt4 in Windows and Qt4/Qt5 in Linux. In Windows with Qt5 I get it shifted as you have seen, so it seems that this also happens in OS X with

Re: [Interest] Problems with OpenGL in Windows and Qt5

2014-03-22 Thread Till Oliver Knoll
Am 21.03.14 22:06, schrieb Carlos: > Hello Oliver > > Thanks for your help. In Windows and Linux it does not flickers and > you can see two small rectangles (one yellow and one green). I gave it another try, and it seems that "depening on the draw buffer state" I sometimes do get two rectangles

Re: [Interest] Problems with OpenGL in Windows and Qt5

2014-03-21 Thread Carlos
Hello Oliver Thanks for your help. In Windows and Linux it does not flickers and you can see two small rectangles (one yellow and one green). In the original code I did not asked for any OpenGL version, I changed it to 4.3 to see if there were any change and forget about it. The main target of

Re: [Interest] Problems with OpenGL in Windows and Qt5

2014-03-21 Thread Till Oliver Knoll
Am 21.03.2014 um 14:06 schrieb Carlos : > Hello Sean > > I'm attaching a Qt project that has this problem. If you run it with Qt 4 it > shows a black screen with two small rectangles but if you run it with Qt 5 > the screen is displaced and only one of the rectangles can be seen. I just tried

Re: [Interest] Problems with OpenGL in Windows and Qt5

2014-03-21 Thread Till Oliver Knoll
Am 21.03.2014 um 14:13 schrieb Carlos : > > Hello Till > > Thanks for your answer. I did not define the OpenGL version nor the profile. > I've trying to use OpenGL 4.4 with compatibility profile and it didn't make > any difference: it works fine in Qt4 but is displaced in Qt5. I did not look

Re: [Interest] Problems with OpenGL in Windows and Qt5

2014-03-21 Thread Carlos
Hello Till Thanks for your answer. I did not define the OpenGL version nor the profile. I've trying to use OpenGL 4.4 with compatibility profile and it didn't make any difference: it works fine in Qt4 but is displaced in Qt5. I only use Qt to interface with the system and I use the QGLWidget.

Re: [Interest] Problems with OpenGL in Windows and Qt5

2014-03-21 Thread Till Oliver Knoll
Am 20.03.2014 um 15:04 schrieb Carlos : > ... > > I've tried Qt 5.2 MSVC2010 32bit OpenGL and Qt 5.2 MinGW 32 bit and it fails > in both. In Qt4 the OpenGL version is 4.3.0 and in Qt5 is 2.1.2, Just to interrogate the Usual Suspects: you /are/ explicitly asking for an OpenGL 4.3 "CoreProfile"

Re: [Interest] Problems with OpenGL in Windows and Qt5

2014-03-20 Thread Sean Harmer
Hi, On Thursday 20 March 2014 07:04:14 Carlos wrote: > Hello > > I've done a game that uses OpenGL. For Symbian, Meego and desktop I use Qt > for the device initialization and then I use raw OpenGL calls. I am using > Qt4 with no problems and now I have converted it to Qt5. The problem is > that

[Interest] Problems with OpenGL in Windows and Qt5

2014-03-20 Thread Carlos
Hello I've done a game that uses OpenGL. For Symbian, Meego and desktop I use Qt for the device initialization and then I use raw OpenGL calls. I am using Qt4 with no problems and now I have converted it to Qt5. The problem is that in Windows the rendering is displaced. A small rectangle with th