| 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 |
// Qt-Security score:significant reason:default |
| 4 |
|
| 5 |
#include "qxcbglintegrationplugin.h" |
| 6 |
|
| 7 |
#include "qxcbeglintegration.h" |
| 8 |
|
| 9 |
QT_BEGIN_NAMESPACE |
| 10 |
|
| 11 |
class QXcbEglIntegrationPlugin : public QXcbGlIntegrationPlugin |
| 12 |
{ |
| 13 |
Q_OBJECT |
| 14 |
Q_PLUGIN_METADATA(IID QXcbGlIntegrationFactoryInterface_iid FILE "xcb_egl.json") |
| 15 |
public: |
| 16 |
QXcbGlIntegration *create() override |
| 17 |
{ |
| 18 |
return new QXcbEglIntegration(); |
| 19 |
} |
| 20 |
|
| 21 |
}; |
| 22 |
|
| 23 |
QT_END_NAMESPACE |
| 24 |
|
| 25 |
#include "qxcbeglmain.moc" |