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
qssgassetimporterfactory.cpp
Go to the documentation of this file.
1
// Copyright (C) 2019 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
// Qt-Security score:significant reason:default
4
5
6
#
include
"qssgassetimporterfactory_p.h"
7
#
include
"qssgassetimporterplugin_p.h"
8
#
include
"qssgassetimporter_p.h"
9
10
#
include
<
QtCore
/
qdebug
.
h
>
11
#
include
<
QtCore
/
private
/
qfactoryloader_p
.
h
>
12
#
include
<
QtCore
/
QCoreApplication
>
13
#
include
<
QtCore
/
QDir
>
14
15
QT_BEGIN_NAMESPACE
16
17
Q_GLOBAL_STATIC_WITH_ARGS(QFactoryLoader, loader, (
QSSGAssetImporterFactoryInterface_iid
, QLatin1String(
"/assetimporters"
), Qt::CaseInsensitive))
18
19
QStringList QSSGAssetImporterFactory::keys()
20
{
21
return
loader->keyMap().values();
22
}
23
24
QSSGAssetImporter *QSSGAssetImporterFactory::create(
const
QString &name,
const
QStringList &args)
25
{
26
return
qLoadPlugin<QSSGAssetImporter, QSSGAssetImporterPlugin>(loader(), name, args);
27
}
28
29
QT_END_NAMESPACE
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qrandomaccessasyncfile_darwin.mm:17
QSSGAssetImporterFactoryInterface_iid
#define QSSGAssetImporterFactoryInterface_iid
Definition
qssgassetimporterplugin_p.h:31
qtquick3d
src
assetimport
qssgassetimporterfactory.cpp
Generated on
for Qt by
1.16.1