Use egl.prf in xcb instead of hardcoding -lEGL

Task-number: QTBUG-33494
Change-Id: I55df1acdf2c95f66a93890b4b30f14a52bee6684
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
This commit is contained in:
Laszlo Agocs 2013-09-17 11:50:52 +02:00 committed by The Qt Project
parent ba20945c0f
commit ff7b57bbb9

View File

@ -82,7 +82,7 @@ contains(QT_CONFIG, xcb-sm) {
contains(QT_CONFIG, opengl) {
contains(QT_CONFIG, opengles2) {
DEFINES += XCB_USE_EGL
LIBS += -lEGL
CONFIG += egl
HEADERS += qxcbeglsurface.h
# EGL on MeeGo 1.2 Harmattan needs this macro to map EGLNativeDisplayType