[Qt-qml] on device performance
Cornelius Hald
hald at icandy.de
Tue Dec 14 12:51:38 CET 2010
On Tue, 2010-12-14 at 11:27 +0100, jevon.beckles at orange-ftgroup.com
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
More information about the Qt-qml
mailing list