Can I convert QString to GLenum? or Must I code it myself?
GLenum e = xrett.attribute("type"); // "GL_AMBIENT"
Can I convert QString to GLenum? or Must I code it myself?
GLenum e = xrett.attribute("type"); // "GL_AMBIENT"
Regards
You must code it yourself, since QString doesn't know anything about OpenGL.
Bookmarks