summaryrefslogtreecommitdiffstats
path: root/src/opengl/opengl.pro
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2010-05-14 12:07:51 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2010-06-01 08:12:14 (GMT)
commitf3a920be362b85d248a9b76c1b15a0b096d7c90e (patch)
tree4b2d4c33ae0cc67cd731ba474f3153699c74928a /src/opengl/opengl.pro
parent28580117adf5149e7ca15a43a398b412f4ec0ab4 (diff)
downloadQt-f3a920be362b85d248a9b76c1b15a0b096d7c90e.zip
Qt-f3a920be362b85d248a9b76c1b15a0b096d7c90e.tar.gz
Qt-f3a920be362b85d248a9b76c1b15a0b096d7c90e.tar.bz2
gl on openkode. QGLWidget only works for toplevel widgets
and QGLWindowSurface is used for anything else
Diffstat (limited to 'src/opengl/opengl.pro')
-rw-r--r--src/opengl/opengl.pro10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/opengl/opengl.pro b/src/opengl/opengl.pro
index 6eb4ebe..53f9d3e 100644
--- a/src/opengl/opengl.pro
+++ b/src/opengl/opengl.pro
@@ -77,16 +77,12 @@ SOURCES += qgl.cpp \
}
embedded_lite {
+ DEFINES += QT_NO_EGL
+
SOURCES += qgl_lite.cpp
HEADERS += qglplatformintegration_lite.h
- # 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
- }
+ SOURCES += qglpixelbuffer_stub.cpp
}
x11 {