| 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 "qxcbglintegrationplugin.h" |
| 5 | |
| 6 | #include "qxcbglxintegration.h" |
| 7 | |
| 8 | QT_BEGIN_NAMESPACE |
| 9 | |
| 10 | class QXcbGlxIntegrationPlugin : public QXcbGlIntegrationPlugin |
| 11 | { |
| 12 | Q_OBJECT |
| 13 | Q_PLUGIN_METADATA(IID QXcbGlIntegrationFactoryInterface_iid FILE "xcb_glx.json") |
| 14 | public: |
| 15 | QXcbGlIntegration *create() override |
| 16 | { |
| 17 | return new QXcbGlxIntegration(); |
| 18 | } |
| 19 | |
| 20 | }; |
| 21 | |
| 22 | QT_END_NAMESPACE |
| 23 | |
| 24 | #include "qxcbglxmain.moc" |
| 25 |
