diff options
author | Trond Kjernåsen <trond@trolltech.com> | 2009-11-04 11:22:18 (GMT) |
---|---|---|
committer | Trond Kjernåsen <trond@trolltech.com> | 2009-11-04 11:22:18 (GMT) |
commit | 26ded29b31c71ff43036798015cb1c77aae427e3 (patch) | |
tree | 24e91fe6f38e6d6d126acc9735557ddd54851547 /src/gui/egl | |
parent | 47546dd3cae4cb6f1ca87621fb3752524f9d050d (diff) | |
download | Qt-26ded29b31c71ff43036798015cb1c77aae427e3.zip Qt-26ded29b31c71ff43036798015cb1c77aae427e3.tar.gz Qt-26ded29b31c71ff43036798015cb1c77aae427e3.tar.bz2 |
Fixed compilation and linking of EGL on Windows CE.
Moved duplicated and broken code for setting up the include and library
paths into the egl.prf feature file, which egl.pri and opengl.pro now
includes using the qmake feature system.
Task-number: QTBUG-5148
Reviewed-by: Tom Cooksey
Diffstat (limited to 'src/gui/egl')
-rw-r--r-- | src/gui/egl/egl.pri | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/gui/egl/egl.pri b/src/gui/egl/egl.pri index 627d511..669d311 100644 --- a/src/gui/egl/egl.pri +++ b/src/gui/egl/egl.pri @@ -1,3 +1,5 @@ +CONFIG += egl + HEADERS += \ egl/qegl_p.h \ egl/qeglproperties_p.h @@ -19,11 +21,3 @@ unix { } } } - -for(p, QMAKE_LIBDIR_EGL) { - exists($$p):LIBS_PRIVATE += -L$$p -} - -!isEmpty(QMAKE_INCDIR_EGL): INCLUDEPATH += $$QMAKE_INCDIR_EGL -!isEmpty(QMAKE_LIBS_EGL): LIBS_PRIVATE += $$QMAKE_LIBS_EGL -!isEmpty(QMAKE_LFLAGS_EGL): LIBS += $$QMAKE_LFLAGS_EGL |