#include <QtOpenGL/qgl.h> #ifndef QGL_H class QGLFormat{ /* Some contents are skipped to improve readability */ public: int redBufferSize() const /* ... */ }; #endif // QGL_H