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