# Copyright (C) 2022 The Qt Company Ltd. # SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 ##################################################################### ## 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 )