Add EGLFS OpenWFD plugin for INTEGRITY

This enables OpenWFD EGLFS integration plugin and makes EGLFS the
default platform for INTEGRITY builds.

Change-Id: I65332ca0ae244f40013df435828e2e359200b325
Reviewed-by: Janne Koskinen <janne.p.koskinen@qt.io>
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
This commit is contained in:
Kimmo Ollila 2021-05-18 12:08:17 +03:00
parent 80cf3053f4
commit 5762bd236c
4 changed files with 28 additions and 2 deletions

View File

@ -24,7 +24,7 @@ if (QT_FEATURE_gui)
elseif(QNX)
set(_default_platform "qnx")
elseif(INTEGRITY)
set(_default_platform "integrityfb")
set(_default_platform "eglfs")
elseif(HAIKU)
set(_default_platform "haiku")
elseif(WASM)

View File

@ -10,6 +10,8 @@ elseif(QT_FEATURE_eglfs_viv)
set(_device_integration "eglfs_viv")
elseif(QT_FEATURE_eglfs_brcm)
set(_device_integration "eglfs_brcm")
elseif(QT_FEATURE_eglfs_openwfd)
set(_device_integration "eglfs_openwfd")
endif()
set(QT_QPA_DEFAULT_EGLFS_INTEGRATION "${_device_integration}" CACHE STRING "Default EGLFS device integration plugin")

View File

@ -31,7 +31,7 @@ if(QT_FEATURE_eglfs_viv_wl)
add_subdirectory(eglfs_viv_wl)
endif()
if(QT_FEATURE_eglfs_openwfd)
# add_subdirectory(eglfs_openwfd) # special case TODO
add_subdirectory(eglfs_openwfd)
endif()
if(QT_FEATURE_opengl)
add_subdirectory(eglfs_emu)

View File

@ -0,0 +1,24 @@
# Generated from openwfd.pro.
#####################################################################
## QEglFSOpenWFDIntegrationPlugin Plugin:
#####################################################################
qt_internal_add_plugin(QEglFSOpenWFDIntegrationPlugin
OUTPUT_NAME qeglfs-openwfd-integration
TYPE egldeviceintegrations
SOURCES
qeglfsopenwfdintegration.cpp qeglfsopenwfdintegration.h
qeglfsopenwfdmain.cpp
INCLUDE_DIRECTORIES
../../api
PUBLIC_LIBRARIES
Qt::Core
Qt::CorePrivate
Qt::EglFSDeviceIntegrationPrivate
Qt::Gui
Qt::GuiPrivate
)
#### Keys ignored in scope 1:.:.:openwfd.pro:<TRUE>:
# OTHER_FILES = "$$PWD/eglfs_openwfd.json"