summaryrefslogtreecommitdiff
path: root/src/compositor/compositor.pro
blob: 4fbbb2bc4e7e429cd23f0e9a2f46d03c6484ac4e (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
TARGET = QtWaylandCompositor
MODULE = waylandcompositor

QT = core gui-private

qtConfig(opengl): QT += opengl

qtHaveModule(quick): QT += quick

CONFIG -= precompile_header
CONFIG += link_pkgconfig

QMAKE_DOCS = $$PWD/doc/qtwaylandcompositor.qdocconf

QMAKE_USE += wayland-server

INCLUDEPATH += ../shared

HEADERS += ../shared/qwaylandmimehelper_p.h \
           ../shared/qwaylandinputmethodeventbuilder_p.h \
           ../shared/qwaylandsharedmemoryformathelper_p.h

SOURCES += ../shared/qwaylandmimehelper.cpp \
           ../shared/qwaylandinputmethodeventbuilder.cpp

RESOURCES += compositor.qrc

include ($$PWD/global/global.pri)
include ($$PWD/wayland_wrapper/wayland_wrapper.pri)
include ($$PWD/hardware_integration/hardware_integration.pri)
include ($$PWD/compositor_api/compositor_api.pri)
include ($$PWD/extensions/extensions.pri)

MODULE_PLUGIN_TYPES = \
    wayland-graphics-integration-server \
    wayland-hardware-layer-integration \

load(qt_module)

qtConfig(wayland-compositor-quick) {
    QMLTYPES_FILENAME = plugins.qmltypes
    QMLTYPES_INSTALL_DIR = $$[QT_INSTALL_QML]/QtWayland/Compositor
    QML_IMPORT_NAME = QtWayland.Compositor
    QML_IMPORT_VERSION = $$QT_VERSION
    CONFIG += qmltypes install_qmltypes
}