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