fix directfb build without EGL

Task-number: QTBUG-57176
Change-Id: I174828e0657e244b060df6223650091a06ecd980
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
This commit is contained in:
Oswald Buddenhagen 2016-12-15 15:02:00 +01:00 committed by Jani Heikkinen
parent 2a44f81fe7
commit 21f283b0f0

View File

@ -3,7 +3,7 @@ TARGET = qdirectfb
QT += \ QT += \
core-private gui-private \ core-private gui-private \
eventdispatcher_support-private service_support-private \ eventdispatcher_support-private service_support-private \
fontdatabase_support-private egl_support-private fontdatabase_support-private
QMAKE_USE += directfb QMAKE_USE += directfb
@ -28,6 +28,7 @@ HEADERS = qdirectfbintegration.h \
# ### port the GL context # ### port the GL context
contains(QT_CONFIG, directfb_egl) { contains(QT_CONFIG, directfb_egl) {
QT += egl_support-private
HEADERS += qdirectfb_egl.h HEADERS += qdirectfb_egl.h
SOURCES += qdirectfb_egl.cpp SOURCES += qdirectfb_egl.cpp
DEFINES += DIRECTFB_GL_EGL DEFINES += DIRECTFB_GL_EGL