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) 2019 BogDan Vatra <bogdan@kde.org>
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3// Qt-Security score:significant reason:default
4
5
6#include <qpa/qplatformintegrationplugin.h>
8
10
11using namespace Qt::StringLiterals;
12
14{
15 Q_OBJECT
16 Q_PLUGIN_METADATA(IID QPlatformIntegrationFactoryInterface_iid FILE "android.json")
17
18public:
20};
21
22QPlatformIntegration *QAndroidIntegrationPlugin::create(const QString& system, const QStringList& paramList)
23{
24 if (!system.compare("android"_L1, Qt::CaseInsensitive))
25 return new QAndroidPlatformIntegration(paramList);
26
27 return nullptr;
28}
29
30QT_END_NAMESPACE
31#include "main.moc"
Combined button and popup list for selecting options.