summaryrefslogtreecommitdiff
path: root/src/imports/compositor-extensions/qtshell/CMakeLists.txt
blob: d9b3d5ef8c924083cbb141be4899a5b6c360a0b7 (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
#####################################################################
## qwaylandqtshellplugin Plugin:
#####################################################################

qt_internal_add_qml_module(WaylandCompositorQtShell
    URI "QtWayland.Compositor.QtShell"
    VERSION "${PROJECT_VERSION}"
    CLASS_NAME QWaylandQtShellPlugin
    NO_PLUGIN_OPTIONAL
    PLUGIN_TARGET WaylandCompositorQtShell
    NO_GENERATE_PLUGIN_SOURCE
    NO_GENERATE_QMLTYPES
    INSTALL_SOURCE_QMLTYPES "plugins.qmltypes"

    SOURCES
        qwaylandqtshellplugin.cpp
        qwaylandqtshell.cpp qwaylandqtshell.h qwaylandqtshell_p.h
        qwaylandqtshellintegration.cpp qwaylandqtshellintegration_p.h
        qwaylandqtshellchrome.cpp qwaylandqtshellchrome.h qwaylandqtshellchrome_p.h
    LIBRARIES
        Qt::Core
        Qt::Gui
        Qt::Quick
        Qt::QuickPrivate
        Qt::WaylandCompositor
        Qt::WaylandCompositorPrivate
)

qt6_generate_wayland_protocol_server_sources(WaylandCompositorQtShell
    FILES
        ${CMAKE_CURRENT_SOURCE_DIR}/../../../extensions/qt-shell-unstable-v1.xml
)