#include <QtOpenGL/qgl.h> #ifndef QGL_H class QGLFormat{ /* Some contents are skipped to improve readability */ private: struct QGLFormatPrivate* d; /* ... */ }; #endif // QGL_H