Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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 <qpa/qplatformintegrationplugin.h>
6
8
9namespace QtWaylandClient {
10
18
20{
21 Q_UNUSED(paramList);
22 Q_UNUSED(system);
23 auto *integration = new QWaylandEglPlatformIntegration();
24
25 if (!integration->init()) {
26 delete integration;
27 integration = nullptr;
28 }
29
30 return integration;
31}
32
33}
34
36
37#include "main.moc"
The QPlatformIntegration class is the entry for WindowSystem specific functionality.
\inmodule QtCore
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
QPlatformIntegration * create(const QString &, const QStringList &) override
Definition main.cpp:19
Combined button and popup list for selecting options.
#define QPlatformIntegrationFactoryInterface_iid
#define Q_OBJECT
#define Q_PLUGIN_METADATA(x)
#define Q_UNUSED(x)
view create()