Qt Centre Forum
>
Other
>
General Programming
> cast QString-GLenum
PDA
View Full Version :
cast QString-GLenum
mickey
6th July 2006, 14:58
Can I convert QString to GLenum? or Must I code it myself?
GLenum e = xrett.attribute("type"); // "GL_AMBIENT"
jacek
6th July 2006, 15:52
You must code it yourself, since QString doesn't know anything about OpenGL.
Powered by vBulletin® Version 4.2.5 Copyright © 2023 vBulletin Solutions Inc. All rights reserved.