Loading OpenGL extensions with Qt5

I've followed this article on using OpenGL extensions in Qt5 (reference) and following the example code, I get the following error messages: undefined reference to

undefined reference to `QOpenGLExtension_ARB_instanced_arrays::initializeOpenGLFunctions()'

I've made sure that I have said extension through m_context->hasExtension(..)

Here's my code block (very similar to the article code):

QOpenGLExtension_ARB_instanced_arrays* m_instanceFuncs = new QOpenGLExtension_ARB_instanced_arrays();
qDebug("extension loaded");

I'd assume the article would have mentioned other necessary steps.. I'm using Qt 5.3 on Windows 7 with a 4.3 Core context.


QOpenGLExtensions reside in another submodule than opengl, and so I had to enable it in the pro file like so:

QT += openglextensions

Need Your Help

Windows 8 Metro style ListView auto scroll

listview windows-8 microsoft-metro

I am using a ListView in a Windows 8 Metro style app and I want to programatically make it scroll to a point where a particular item is in the view.

Algorithm for high level planning in artificial intelligence

algorithm graph artificial-intelligence planning

I am currently working on an artificial intelligence project in which an agents needs to push and pull boxes from their original position to a certain goal position. The project will then be expand...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.