
Originally Posted by
wysota
Did you implement them in a class you then use to instantiate the GL widget? Did you promote the widget you placed on the form to that class?
I'm added new class OpenGLrender:
#ifndef OPENGLRENDER_H
#define OPENGLRENDER_H
class OpenGLrender : public QOpenGLWidget
{
public:
OpenGLrender();
};
#endif // OPENGLRENDER_H
#ifndef OPENGLRENDER_H
#define OPENGLRENDER_H
class OpenGLrender : public QOpenGLWidget
{
public:
OpenGLrender();
};
#endif // OPENGLRENDER_H
To copy to clipboard, switch view to plain text mode
Before that, I placed OpengLWidget on the form. What's next?
Bookmarks