#include <QtOpenGL/qglframebufferobject.h> #ifndef QGLFRAMEBUFFEROBJECT_H class QGLFramebufferObject: public QPaintDevice{ /* Some contents are skipped to improve readability */ public: static bool hasOpenGLFramebufferObjects(); /* ... */ }; #endif // QGLFRAMEBUFFEROBJECT_H