cmake: build eglfs_kms_egldevice

Change-Id: Ib224140d64efdc9c7190add7b568484313ecd7a3
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
Albert Astals Cid 2019-02-15 17:38:17 +01:00
parent d03b915c20
commit df17678ab1
2 changed files with 35 additions and 1 deletions

View File

@ -13,7 +13,7 @@ if(QT_FEATURE_eglfs_gbm)
endif()
if(QT_FEATURE_eglfs_egldevice)
# TODO add_subdirectory(eglfs_kms_egldevice)
add_subdirectory(eglfs_kms_egldevice)
endif()
if(QT_FEATURE_eglfs_vsp2)

View File

@ -0,0 +1,34 @@
# Generated from eglfs_kms_egldevice.pro.
find_package(Libdrm)
#####################################################################
## qeglfs-kms-egldevice-integration Plugin:
#####################################################################
add_qt_plugin(qeglfs-kms-egldevice-integration
TYPE egldeviceintegrations
SOURCES
qeglfskmsegldevice.cpp qeglfskmsegldevice.h
qeglfskmsegldeviceintegration.cpp qeglfskmsegldeviceintegration.h
qeglfskmsegldevicemain.cpp
qeglfskmsegldevicescreen.cpp qeglfskmsegldevicescreen.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
Libdrm::Libdrm
# CONFIG = "egl"
# OTHER_FILES = "$$PWD/eglfs_kms_egldevice.json"
# PLUGIN_CLASS_NAME = "QEglFSKmsEglDeviceIntegrationPlugin"
# _LOADED = "qt_plugin"
)