Actually the default version Qt 5.4 dynamically selects what it thinks is the most appropriate version of OpenGL to use. You can force it to use desktop OpenGL by calling QCoreApplication::setAttribute(Qt::AA_UseDesktopOpenGL) on your app instance before you call exec on it.