Skip to content

Commit

Permalink
Add EGLFS OpenWFD plugin for INTEGRITY
Browse files Browse the repository at this point in the history
This enables OpenWFD EGLFS integration plugin and makes EGLFS the
default platform for INTEGRITY builds.

Change-Id: I65332ca0ae244f40013df435828e2e359200b325
Reviewed-by: Janne Koskinen <[email protected]>
Reviewed-by: Laszlo Agocs <[email protected]>
  • Loading branch information
kiollila committed May 19, 2021
1 parent 80cf305 commit 5762bd2
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/gui/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 2 additions & 0 deletions src/plugins/platforms/eglfs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 5762bd2

Please sign in to comment.