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:
parent
54651971a2
commit
f9e319dde3
@ -95,6 +95,19 @@ qt_internal_add_module(WaylandClient
|
|||||||
../3rdparty/protocol/wlr-data-control
|
../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
|
qt6_generate_wayland_protocol_client_sources(WaylandClient
|
||||||
PRIVATE_CODE
|
PRIVATE_CODE
|
||||||
FILES
|
FILES
|
||||||
|
@ -12,7 +12,7 @@ namespace QtWaylandClient {
|
|||||||
class QWaylandIntegrationPlugin : public QPlatformIntegrationPlugin
|
class QWaylandIntegrationPlugin : public QPlatformIntegrationPlugin
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_PLUGIN_METADATA(IID QPlatformIntegrationFactoryInterface_iid FILE "qwayland-generic.json")
|
Q_PLUGIN_METADATA(IID QPlatformIntegrationFactoryInterface_iid FILE "qwayland.json")
|
||||||
public:
|
public:
|
||||||
QPlatformIntegration *create(const QString&, const QStringList&) override;
|
QPlatformIntegration *create(const QString&, const QStringList&) override;
|
||||||
};
|
};
|
@ -5,7 +5,6 @@
|
|||||||
|
|
||||||
add_subdirectory(hardwareintegration)
|
add_subdirectory(hardwareintegration)
|
||||||
if(TARGET Qt::WaylandClient)
|
if(TARGET Qt::WaylandClient)
|
||||||
add_subdirectory(platform)
|
|
||||||
add_subdirectory(decorations)
|
add_subdirectory(decorations)
|
||||||
add_subdirectory(shellintegration)
|
add_subdirectory(shellintegration)
|
||||||
endif()
|
endif()
|
||||||
|
@ -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"
|
|
Loading…
x
Reference in New Issue
Block a user