#include <QtOpenGL/qgl.h> #ifndef QGL_H class QGLContext{ /* Some contents are skipped to improve readability */ private: inline struct QGLContextPrivate* d_func(); /* ... */ }; #endif // QGL_H