bcm97425: Fix linking the directfbegl QPA plugin
directfbegl requires libQtPlatformSupport to provide some EGL helper functions. Enable EGL by adding it to the QT_CONFIG variable in the qmake.conf. Change-Id: I80d3163d9da4b9eb232aea72ba7d4388453f8247 Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
This commit is contained in:
parent
26583f3777
commit
92a61d896e
@ -48,6 +48,7 @@ contains(B_REFSW_DEBUG, [Nn]) {
|
||||
QMAKE_INCDIR_OPENGL_ES2 = $${BRCM_ROCKFORD_PATH}/middleware/v3d/interface/khronos/include
|
||||
QMAKE_LIBDIR_OPENGL_ES2 = $${BRCM_ROCKFORD_PATH}/middleware/v3d/lib_$${BRCM_PLATFORM}_$${BRCM_BUILD_TYPE}
|
||||
QMAKE_LIBS_OPENGL_ES2 = -lv3ddriver -lrt
|
||||
QMAKE_LIBS_EGL =
|
||||
|
||||
INCLUDEPATH += $${BRCM_APPLIBS_PATH}/opensource/zlib/zlib-1.2.3
|
||||
QMAKE_LIBDIR += $${BRCM_APPLIBS_PATH}/opensource/zlib/zlib-1.2.3
|
||||
@ -55,7 +56,7 @@ QMAKE_LIBDIR += $${BRCM_APPLIBS_PATH}/opensource/zlib/zlib-1.2.3
|
||||
QMAKE_LFLAGS += -Wl,-rpath-link,$$QMAKE_LIBDIR_OPENGL_ES2 -Wl,-rpath-link,$${BRCM_APPLIBS_PATH}/opensource/zlib/zlib-1.2.3
|
||||
|
||||
# DirectFB platform hooks for this hardware
|
||||
QT_CONFIG += directfb_egl
|
||||
QT_CONFIG += directfb_egl egl
|
||||
DIRECTFB_PLATFORM_HOOKS_SOURCES = $$PWD/qdirectfbeglhooks_bcm97425.cpp
|
||||
DIRECTFB_PLATFORM_HOOKS_INCLUDEPATH = $${BRCM_ROCKFORD_PATH}/middleware/platform/directfb
|
||||
DIRECTFB_PLATFORM_HOOKS_LIBS = -ldbpl
|
||||
|
Loading…
Reference in New Issue
Block a user