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) 2017 The Qt Company Ltd.
2
// Copyright (C) 2015-2016 Oleksandr Tymoshenko <gonzo@bluezbox.com>
3
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
4
// Qt-Security score:significant reason:default
5
6
#
include
<
qpa
/
qplatformintegrationplugin
.
h
>
7
#
include
"qbsdfbintegration.h"
8
9
QT_BEGIN_NAMESPACE
10
11
using
namespace
Qt::StringLiterals;
12
13
class
QBsdFbIntegrationPlugin
:
public
QPlatformIntegrationPlugin
14
{
15
Q_OBJECT
16
Q_PLUGIN_METADATA(IID QPlatformIntegrationFactoryInterface_iid FILE
"bsdfb.json"
)
17
public
:
18
QPlatformIntegration
*
create
(
const
QString
&,
const
QStringList
&)
override
;
19
};
20
21
QPlatformIntegration*
QBsdFbIntegrationPlugin
::create(
const
QString& system,
const
QStringList& paramList)
22
{
23
Q_UNUSED(paramList);
24
if
(!system.compare(
"bsdfb"_L1
, Qt::CaseInsensitive))
25
return
new
QBsdFbIntegration
(paramList);
26
27
return
nullptr
;
28
}
29
30
QT_END_NAMESPACE
31
32
#
include
"main.moc"
QBsdFbIntegrationPlugin
Definition
main.cpp:14
QBsdFbIntegration
Definition
qbsdfbintegration.h:18
QPlatformGraphicsBufferHelper
\inmodule QtGui
qtbase
src
plugins
platforms
bsdfb
main.cpp
Generated on
for Qt by
1.14.0