#include <QtOpenGL/qglframebufferobject.h> #ifndef QGLFRAMEBUFFEROBJECT_H class QGLFramebufferObject: public QPaintDevice{ /* Some contents are skipped to improve readability */ protected: virtual int metric(enum QPaintDevice::PaintDeviceMetric metric) const /* ... */ }; #endif // QGLFRAMEBUFFEROBJECT_H