#include <QtOpenGL/qglframebufferobject.h> #ifndef QGLFRAMEBUFFEROBJECT_H class QGLFramebufferObject: public QPaintDevice{ /* Some contents are skipped to improve readability */ public: QGLFramebufferObject(int width, int height, GLenum target = 3553); /* ... */ }; #endif // QGLFRAMEBUFFEROBJECT_H