#include <QtOpenGL/qgl.h> #ifndef QGL_H class QGLFormat{ /* Some contents are skipped to improve readability */ public: QGLFormat(QGL::FormatOptions options, int plane = 0); /* ... */ }; #endif // QGL_H