#include <QtOpenGL/qgl.h> #ifndef QGL_H class QGLFormat{ /* Some contents are skipped to improve readability */ public: enum OpenGLVersionFlag{ /* ... */ OpenGL_Version_1_5 = 16, /* ... */ }; /* ... */ }; #endif // QGL_H