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