summaryrefslogtreecommitdiffstats
path: root/src/compositor/hardware_integration/hardware_integration.pri
diff options
context:
space:
mode:
Diffstat (limited to 'src/compositor/hardware_integration/hardware_integration.pri')
-rw-r--r--src/compositor/hardware_integration/hardware_integration.pri27
1 files changed, 19 insertions, 8 deletions
diff --git a/src/compositor/hardware_integration/hardware_integration.pri b/src/compositor/hardware_integration/hardware_integration.pri
index 8477243fe..999434d93 100644
--- a/src/compositor/hardware_integration/hardware_integration.pri
+++ b/src/compositor/hardware_integration/hardware_integration.pri
@@ -1,17 +1,28 @@
-QT += core
-
isEmpty(QT_WAYLAND_GL_CONFIG):QT_WAYLAND_GL_CONFIG = $$(QT_WAYLAND_GL_CONFIG)
!isEqual(QT_WAYLAND_GL_CONFIG,nogl) {
+ CONFIG += wayland-scanner
+ WAYLANDSERVERSOURCES += \
+ ../extensions/server-buffer-extension.xml \
+ ../extensions/hardware-integration.xml
+
HEADERS += \
- hardware_integration/qwaylandgraphicshardwareintegration.h \
- hardware_integration/qwaylandgraphicshardwareintegrationfactory.h \
- hardware_integration/qwaylandgraphicshardwareintegrationplugin.h
+ hardware_integration/qwaylandclientbufferintegration.h \
+ hardware_integration/qwaylandclientbufferintegrationfactory.h \
+ hardware_integration/qwaylandclientbufferintegrationplugin.h \
+ hardware_integration/qwaylandserverbufferintegration.h \
+ hardware_integration/qwaylandserverbufferintegrationfactory.h \
+ hardware_integration/qwaylandserverbufferintegrationplugin.h \
+ hardware_integration/qwlhwintegration_p.h
SOURCES += \
- hardware_integration/qwaylandgraphicshardwareintegration.cpp \
- hardware_integration/qwaylandgraphicshardwareintegrationfactory.cpp \
- hardware_integration/qwaylandgraphicshardwareintegrationplugin.cpp
+ hardware_integration/qwaylandclientbufferintegration.cpp \
+ hardware_integration/qwaylandclientbufferintegrationfactory.cpp \
+ hardware_integration/qwaylandclientbufferintegrationplugin.cpp \
+ hardware_integration/qwaylandserverbufferintegration.cpp \
+ hardware_integration/qwaylandserverbufferintegrationfactory.cpp \
+ hardware_integration/qwaylandserverbufferintegrationplugin.cpp \
+ hardware_integration/qwlhwintegration.cpp
DEFINES += QT_COMPOSITOR_WAYLAND_GL
} else {