[maemo-developers] Qt with OpenGL ES 1.1 on Maemo / N900
From: Thomas Perl th.perl at gmail.comDate: Thu Sep 2 16:13:49 EEST 2010
- Previous message: Gtk + Qt + osso + locale = non-localized labels/titles
- Next message: Qt with OpenGL ES 1.1 on Maemo / N900
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello! According to the OpenGL ES Wiki page[1], Qt on Maemo only supports OpenGL ES 2.x. Is this really true? I've added the following two lines to my .pro file, and my application compiles, links and runs happily. However, the window (a QGLWidget) will stay black - nothing is drawn on the screen. DEFINES += QT_NO_OPENGL_ES_2 QT_OPENGL_ES_1 LIBS += -lGLES_CM Now my questions: 1.) Is it possible to use QGLWidget with OpenGL ES 1.1 on the N900? 2.) Is there a minimal example using QGLWidget + OpenGL ES 1.1? The same code works fine when compiled with Qt under Ubuntu on a laptop, so the code works and does draw something ;) I'm using the experimental Qt 4.7.x packages from Extras-Devel in Scratchbox and on the device. Any help appreciated :) Thanks! Thomas [1] http://wiki.maemo.org/OpenGL-ES
- Previous message: Gtk + Qt + osso + locale = non-localized labels/titles
- Next message: Qt with OpenGL ES 1.1 on Maemo / N900
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]