Hello forum,
I am trying to make a simple modern opegl application with qt5. I have defined the
QT += opengl
QT += opengl
To copy to clipboard, switch view to plain text mode
inside the .pro file.
Then inside the class declaration i am declaring a variable as follows:
class scene : pulic abstractscene
{
Q_OBJECT
public:
.......................
.......................
private:
GLint vertices;
}
class scene : pulic abstractscene
{
Q_OBJECT
public:
.......................
.......................
private:
GLint vertices;
}
To copy to clipboard, switch view to plain text mode
I am getting the error at "GLint vertices" with the message mentioned in the title.
Any clue ?
Thanks
Bookmarks