summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms_egldevice/eglfs_kms_egldevice.pro
blob: 582982df76d0ec2669ab25132be88db45f8530e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
TARGET = qeglfs-kms-egldevice-integration

QT += core-private gui-private platformsupport-private eglfsdeviceintegration-private eglfs_kms_support-private

INCLUDEPATH += $$PWD/../../api $$PWD/../eglfs_kms_support

# Avoid X11 header collision, use generic EGL native types
DEFINES += QT_EGL_NO_X11

QMAKE_USE += drm
CONFIG += egl
QMAKE_LFLAGS += $$QMAKE_LFLAGS_NOUNDEF

SOURCES += $$PWD/qeglfskmsegldevicemain.cpp \
           $$PWD/qeglfskmsegldeviceintegration.cpp \
    qeglfskmsegldevice.cpp \
    qeglfskmsegldevicescreen.cpp

HEADERS += $$PWD/qeglfskmsegldeviceintegration.h \
    qeglfskmsegldevice.h \
    qeglfskmsegldevicescreen.h

OTHER_FILES += $$PWD/eglfs_kms_egldevice.json

PLUGIN_TYPE = egldeviceintegrations
PLUGIN_CLASS_NAME = QEglFSKmsEglDeviceIntegrationPlugin
load(qt_plugin)