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