summaryrefslogtreecommitdiffstats
path: root/src/gui/egl
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/gui/egl
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/gui/egl')
-rw-r--r--src/gui/egl/egl.pri18
1 files changed, 15 insertions, 3 deletions
diff --git a/src/gui/egl/egl.pri b/src/gui/egl/egl.pri
index 595d135..253c091 100644
--- a/src/gui/egl/egl.pri
+++ b/src/gui/egl/egl.pri
@@ -6,9 +6,21 @@ contains(QT_CONFIG, egl): {
egl/qeglcontext_p.h \
egl/qeglproperties_p.h
- SOURCES += \
- egl/qegl.cpp \
- egl/qeglproperties.cpp
+ SOURCES += \
+ egl/qegl.cpp \
+ egl/qeglproperties.cpp
+ unix {
+ !isEmpty(QMAKE_INCDIR_EGL){
+ INCLUDEPATH += $$QMAKE_INCDIR_EGL
+ }
+ !isEmpty(QMAKE_LIBDIR_EGL){
+ for(p, QMAKE_LIBDIR_EGL) {
+ exists($$p):LIBS += -L$$p
+ }
+ }
+
+ !isEmpty(QMAKE_LIBS_EGL): LIBS += $$QMAKE_LIBS_EGL
+ }
wince*: SOURCES += egl/qegl_wince.cpp