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

source code of qtbase/src/plugins/platforms/xcb/gl_integrations/xcb_glx/qxcbglxmain.cpp