From d2b0856f59fa850c93347cd3b643aa457967a5f4 Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Mon, 21 Dec 2020 10:40:28 +0100 Subject: [PATCH] eglfs: Enable building the fbdev-based Mali backend The configure tests are all in place for CMake as well, and this one has no special library depdendencies. Generate the CMakeLists and remove the special case. Change-Id: I55817045f9e259515fb3aad33d1446d9413111d9 Reviewed-by: Joerg Bornemann --- .../eglfs/deviceintegration/CMakeLists.txt | 2 +- .../eglfs_mali/CMakeLists.txt | 26 +++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 src/plugins/platforms/eglfs/deviceintegration/eglfs_mali/CMakeLists.txt diff --git a/src/plugins/platforms/eglfs/deviceintegration/CMakeLists.txt b/src/plugins/platforms/eglfs/deviceintegration/CMakeLists.txt index 827bb51fd3..55c8e73398 100644 --- a/src/plugins/platforms/eglfs/deviceintegration/CMakeLists.txt +++ b/src/plugins/platforms/eglfs/deviceintegration/CMakeLists.txt @@ -19,7 +19,7 @@ if(QT_FEATURE_eglfs_brcm) # add_subdirectory(eglfs_brcm) # special case TODO endif() if(QT_FEATURE_eglfs_mali) - # add_subdirectory(eglfs_mali) # special case TODO + add_subdirectory(eglfs_mali) endif() if(QT_FEATURE_eglfs_viv) add_subdirectory(eglfs_viv) diff --git a/src/plugins/platforms/eglfs/deviceintegration/eglfs_mali/CMakeLists.txt b/src/plugins/platforms/eglfs/deviceintegration/eglfs_mali/CMakeLists.txt new file mode 100644 index 0000000000..84165abafd --- /dev/null +++ b/src/plugins/platforms/eglfs/deviceintegration/eglfs_mali/CMakeLists.txt @@ -0,0 +1,26 @@ +# Generated from eglfs_mali.pro. + +##################################################################### +## QEglFSMaliIntegrationPlugin Plugin: +##################################################################### + +qt_internal_add_plugin(QEglFSMaliIntegrationPlugin + OUTPUT_NAME qeglfs-mali-integration + TYPE egldeviceintegrations + SOURCES + qeglfsmaliintegration.cpp qeglfsmaliintegration.h + qeglfsmalimain.cpp + DEFINES + QT_EGL_NO_X11 + INCLUDE_DIRECTORIES + ../../api + PUBLIC_LIBRARIES + Qt::Core + Qt::CorePrivate + Qt::EglFSDeviceIntegrationPrivate + Qt::Gui + Qt::GuiPrivate +) + +#### Keys ignored in scope 1:.:.:eglfs_mali.pro:: +# OTHER_FILES = "$$PWD/eglfs_mali.json"