Including QOpenGLFunctions
Solved
Installation and Deployment
-
wrote on 17 Feb 2016, 12:26 last edited by vevenom
Hi,
I am new to qt and I have just received a qt project which uses OpenGL. Now, after creating the makefile through the given .pro file and compiling, I am getting errors saying that :
fatal error: QOpenGLFunctions: No such file or directory
#include <QOpenGLFunctions>I have also looked inside of /usr/include/qt4/QtOpenGL directory and cannot find such file at
all. Was the "QOpenGLFunctions" changed in the newer versions of qt? Can any of you give me
some hints into what to do next.Thanks.
-
Hi and welcome to devnet,
QOpenGLFunctions is a new class of Qt 5. You should in any case start with Qt 5. Qt 4 has seen it's last release last year and there won't be anymore unless security fixes are needed.
-
wrote on 18 Feb 2016, 12:07 last edited by
Thanks for the answer. This solved it for me.
3/3