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 "qplatformintegrationplugin.h"
5
6QT_BEGIN_NAMESPACE
7
8QPlatformIntegrationPlugin::QPlatformIntegrationPlugin(QObject *parent)
9 : QObject(parent)
10{
11}
12
13QPlatformIntegrationPlugin::~QPlatformIntegrationPlugin()
14{
15}
16
17QPlatformIntegration *QPlatformIntegrationPlugin::create(const QString &key, const QStringList &paramList)
18{
19 Q_UNUSED(key);
20 Q_UNUSED(paramList);
21 return nullptr;
22}
23
24QPlatformIntegration *QPlatformIntegrationPlugin::create(const QString &key, const QStringList &paramList, int &argc, char **argv)
25{
26 Q_UNUSED(argc);
27 Q_UNUSED(argv);
28 return create(key, paramList); // Fallback for platform plugins that do not implement the argc/argv version.
29}
30
31QT_END_NAMESPACE
32
33#include "moc_qplatformintegrationplugin.cpp"
34

source code of qtbase/src/gui/kernel/qplatformintegrationplugin.cpp