summaryrefslogtreecommitdiffstats
path: root/src/opengl/opengl.pro
diff options
context:
space:
mode:
authorTom Cooksey <thomas.cooksey@nokia.com>2010-03-31 10:32:15 (GMT)
committerTom Cooksey <thomas.cooksey@nokia.com>2010-03-31 10:33:50 (GMT)
commit7cb41f111706542da7e5391c99720acee6d2ac43 (patch)
tree57b1554a74ea48f206c450fe3b2f85ea88de1ab1 /src/opengl/opengl.pro
parent22b7de20fdc0f11d943f235227f59608a88992c8 (diff)
downloadQt-7cb41f111706542da7e5391c99720acee6d2ac43.zip
Qt-7cb41f111706542da7e5391c99720acee6d2ac43.tar.gz
Qt-7cb41f111706542da7e5391c99720acee6d2ac43.tar.bz2
Stub out QtOpenGL on Lighthouse & get it compiling
Diffstat (limited to 'src/opengl/opengl.pro')
-rw-r--r--src/opengl/opengl.pro12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/opengl/opengl.pro b/src/opengl/opengl.pro
index c111a8e..60d4b17 100644
--- a/src/opengl/opengl.pro
+++ b/src/opengl/opengl.pro
@@ -76,6 +76,18 @@ SOURCES += qgl.cpp \
}
+embedded_lite {
+ SOURCES += qgl_lite.cpp
+
+ # If we have EGL, use the EGL implementation of QGLPixelBuffer, otherwise we just provide
+ # a stubbed out one. PBuffers aren't too interesting anyway.
+ contains(QT_CONFIG, egl) {
+ SOURCES += qglpixelbuffer_egl.cpp
+ } else {
+ SOURCES += qglpixelbuffer_stub.cpp
+ }
+}
+
x11 {
contains(QT_CONFIG, opengles1)|contains(QT_CONFIG, opengles2) {
SOURCES += qgl_x11egl.cpp \