cmake: build eglfs_kms plugin
Change-Id: I362c17a67c2cb4c243c39f760c598bfc7e1071bd Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
parent
b56d9916d9
commit
d03b915c20
@ -9,7 +9,7 @@ if(QT_FEATURE_eglfs_gbm OR QT_FEATURE_eglfs_egldevice)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(QT_FEATURE_eglfs_gbm)
|
if(QT_FEATURE_eglfs_gbm)
|
||||||
# TODO add_subdirectory(eglfs_kms)
|
add_subdirectory(eglfs_kms)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(QT_FEATURE_eglfs_egldevice)
|
if(QT_FEATURE_eglfs_egldevice)
|
||||||
|
@ -0,0 +1,38 @@
|
|||||||
|
# Generated from eglfs_kms.pro.
|
||||||
|
|
||||||
|
find_package(gbm)
|
||||||
|
find_package(Libdrm)
|
||||||
|
|
||||||
|
#####################################################################
|
||||||
|
## qeglfs-kms-integration Plugin:
|
||||||
|
#####################################################################
|
||||||
|
|
||||||
|
add_qt_plugin(qeglfs-kms-integration
|
||||||
|
TYPE egldeviceintegrations
|
||||||
|
SOURCES
|
||||||
|
qeglfskmsgbmcursor.cpp qeglfskmsgbmcursor.h
|
||||||
|
qeglfskmsgbmdevice.cpp qeglfskmsgbmdevice.h
|
||||||
|
qeglfskmsgbmintegration.cpp qeglfskmsgbmintegration.h
|
||||||
|
qeglfskmsgbmmain.cpp
|
||||||
|
qeglfskmsgbmscreen.cpp qeglfskmsgbmscreen.h
|
||||||
|
qeglfskmsgbmwindow.cpp qeglfskmsgbmwindow.h
|
||||||
|
DEFINES
|
||||||
|
QT_EGL_NO_X11
|
||||||
|
INCLUDE_DIRECTORIES
|
||||||
|
../../api
|
||||||
|
../eglfs_kms_support
|
||||||
|
LIBRARIES
|
||||||
|
Qt::CorePrivate
|
||||||
|
Qt::GuiPrivate
|
||||||
|
Qt::EglFSDeviceIntegrationPrivate
|
||||||
|
Qt::EglFsKmsSupportPrivate
|
||||||
|
Qt::KmsSupportPrivate
|
||||||
|
Qt::EdidSupportPrivate
|
||||||
|
Qt::PlatformCompositorSupportPrivate
|
||||||
|
gbm::gbm
|
||||||
|
Libdrm::Libdrm
|
||||||
|
# CONFIG = "egl"
|
||||||
|
# OTHER_FILES = "$$PWD/eglfs_kms.json"
|
||||||
|
# PLUGIN_CLASS_NAME = "QEglFSKmsGbmIntegrationPlugin"
|
||||||
|
# _LOADED = "qt_plugin"
|
||||||
|
)
|
Loading…
x
Reference in New Issue
Block a user