Actually, you ought to be able to achieve the same effect (forcing desktop OpenGL) by calling the static method QApplication::setAttribute(Qt::AA_UseDesktopOpenGL, true); Before you create your QApplication instance.