Move platform plugin to main client directory

In preparation for the qtbase move

Task-number: QTBUG-133223
Change-Id: I280448dfd88ffdcace9a04c95f5cd2f4591522a1
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
David Redondo 2025-03-19 16:19:12 +01:00
parent 54651971a2
commit f9e319dde3
5 changed files with 14 additions and 26 deletions

View File

@ -95,6 +95,19 @@ qt_internal_add_module(WaylandClient
../3rdparty/protocol/wlr-data-control
)
qt_internal_add_plugin(QWaylandIntegrationPlugin
OUTPUT_NAME qwayland
PLUGIN_TYPE platforms
DEFAULT_IF "wayland" IN_LIST QT_QPA_PLATFORMS
SOURCES
main.cpp
LIBRARIES
Qt::Core
Qt::Gui
Qt::WaylandClientPrivate
QT_LICENSE_ID QT_COMMERCIAL_OR_LGPL3
)
qt6_generate_wayland_protocol_client_sources(WaylandClient
PRIVATE_CODE
FILES

View File

@ -12,7 +12,7 @@ namespace QtWaylandClient {
class QWaylandIntegrationPlugin : public QPlatformIntegrationPlugin
{
Q_OBJECT
Q_PLUGIN_METADATA(IID QPlatformIntegrationFactoryInterface_iid FILE "qwayland-generic.json")
Q_PLUGIN_METADATA(IID QPlatformIntegrationFactoryInterface_iid FILE "qwayland.json")
public:
QPlatformIntegration *create(const QString&, const QStringList&) override;
};

View File

@ -5,7 +5,6 @@
add_subdirectory(hardwareintegration)
if(TARGET Qt::WaylandClient)
add_subdirectory(platform)
add_subdirectory(decorations)
add_subdirectory(shellintegration)
endif()

View File

@ -1,24 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
# Generated from qwayland-generic.pro.
#####################################################################
## QWaylandIntegrationPlugin Plugin:
#####################################################################
qt_internal_add_plugin(QWaylandIntegrationPlugin
OUTPUT_NAME qwayland
PLUGIN_TYPE platforms
DEFAULT_IF "wayland" IN_LIST QT_QPA_PLATFORMS
SOURCES
main.cpp
LIBRARIES
Qt::Core
Qt::Gui
Qt::WaylandClientPrivate
QT_LICENSE_ID QT_COMMERCIAL_OR_LGPL3
)
#### Keys ignored in scope 1:.:.:qwayland-generic.pro:<TRUE>:
# OTHER_FILES = "qwayland-generic.json"