#include <QtOpenGL/qgl.h> #ifndef QGL_H namespace QGL{ enum FormatOption{ /* Some contents are skipped to improve readability */ DepthBuffer = 2, /* ... */ }; }; #endif // QGL_H