[Kde-bindings] Re: Smoke generator marking OpenGL data types as void_p
Arno Rehn
arno at arnorehn.de
Fri Nov 5 22:37:20 UTC 2010
On Friday 05 November 2010 23:29:27 Ryan Melton wrote:
> Here is a snippet from qtopengl's smokedata.cpp
>
> { "GLbitfield", 0, Smoke::t_voidp|Smoke::tf_stack }, //2
> { "GLenum", 0, Smoke::t_voidp|Smoke::tf_stack }, //3
> { "GLfloat", 0, Smoke::t_voidp|Smoke::tf_stack }, //4
> { "GLint", 0, Smoke::t_voidp|Smoke::tf_stack }, //5
> { "GLuint", 0, Smoke::t_voidp|Smoke::tf_stack }, //6
>
> Any ideas on where to update the generator to mark these as the correct
> types?
This should be autodetected. Hardcoding the typedefs is not the way to go.
If this fails, this could be because either the GL headers aren't found, not
properly included by Qt or because some #defines are missing or messed up in
the qtdefines file.
(This works for me, btw)
--
Arno Rehn
arno at arnorehn.de
More information about the Kde-bindings
mailing list