On Tue, 2010-12-14 at 11:27 +0100, [email protected] wrote: > It seems to work fine on Windows using Qt 4.7.0 (I see a slight > difference in the rendering), but the same program does not compile for > Symbian^3 using Qt 4.7.0. I get the following error: > > "GL/gl.h: No such file or directory" > > This error is due to the file C:\Qt\4.7.0\src\opengl\qgl.h having the > following lines (line 77-79): > > # include <GL/gl.h> > # ifndef QT_LINUXBASE > # include <GL/glu.h>
As far as I know Symbian automatically uses OpenGL or OpenVG if available. You have to #ifdef this part of the code :( You might also want to have a look at this blog: http://thpmaemo.blogspot.com/2010/10/qt-write-once-ifdef-everywhere.html Cheers, Conny _______________________________________________ Qt-qml mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-qml
