[Qt-interest] Strange GL profile behaviour

Sean Harmer sean.harmer at maps-technology.com
Tue Apr 19 09:45:05 CEST 2011


Hi,

On Tuesday 19 April 2011 08:31:27 Yves Bailly wrote:
> Hello all,
> 
> While trying to do some core profile (3.2) OpenGL, I see something a bit
> strange. All of this on Windows 7 64bits, same result using Visual C++ or
> MinGW, video driver up-to-date.
> 
> Here's the beginning of my code, error checking removed:
<snip>
> 
> Am I missing something? any hint appreciated :-)

Take a look at this thread:

http://developer.qt.nokia.com/forums/viewthread/4856/

Short story is, Qt's support for resolving GL entry points was broken when 
using Core Profile (due to using glGetString() rather than glGetIntv() and 
glGetStringi()). This is now fixed in git master so you can either use git-
master or just use the Compatibility profile for now.

Cheers,

Sean




More information about the Qt-interest-old mailing list