Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
main.cpp
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4
#
include
<
QtWaylandClient
/
private
/
qwaylandclientbufferintegrationplugin_p
.
h
>
5
#
include
"qwaylandeglclientbufferintegration_p.h"
6
7
QT_BEGIN_NAMESPACE
8
9
namespace
QtWaylandClient
{
10
11
class
QWaylandEglClientBufferPlugin
:
public
QWaylandClientBufferIntegrationPlugin
12
{
13
Q_OBJECT
14
Q_PLUGIN_METADATA(IID QWaylandClientBufferIntegrationFactoryInterface_iid FILE
"wayland-egl.json"
)
15
public
:
16
QWaylandClientBufferIntegration
*
create
(
const
QString
&,
const
QStringList
&)
override
;
17
};
18
19
QWaylandClientBufferIntegration *
QWaylandEglClientBufferPlugin
::create(
const
QString&,
const
QStringList&)
20
{
21
return
new
QWaylandEglClientBufferIntegration();
22
}
23
24
}
25
26
QT_END_NAMESPACE
27
28
#
include
"main.moc"
QtWaylandClient::QWaylandEglClientBufferPlugin
Definition
main.cpp:12
QtWaylandClient
Definition
qwaylandclientextension.h:15
qtwayland
src
plugins
hardwareintegration
client
wayland-egl
main.cpp
Generated on Sun May 18 2025 00:39:53 for Qt by
1.13.2