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
qxcbglintegrationfactory.cpp
Go to the documentation of this file.
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
6
8#include "private/qfactoryloader_p.h"
10#include "qdir.h"
11
13
14using namespace Qt::StringLiterals;
15
16Q_GLOBAL_STATIC_WITH_ARGS(QFactoryLoader, loader,
17 (QXcbGlIntegrationFactoryInterface_iid, "/xcbglintegrations"_L1, Qt::CaseInsensitive))
18
19QXcbGlIntegration *QXcbGlIntegrationFactory::create(const QString &platform)
20{
21 return qLoadPlugin<QXcbGlIntegration, QXcbGlIntegrationPlugin>(loader(), platform);
22}
23
24QT_END_NAMESPACE
Combined button and popup list for selecting options.
#define QXcbGlIntegrationFactoryInterface_iid