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
qssggltfresourceresolver_p.h
Go to the documentation of this file.
1// Copyright (C) 2026 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#ifndef QSSGGLTFRESOURCERESOLVER_P_H
6#define QSSGGLTFRESOURCERESOLVER_P_H
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is not part of the Qt API. It exists purely as an
13// implementation detail. This header file may change from version to
14// version without notice, or even be removed.
15//
16// We mean it.
17//
18
19#include <QtQuick3DGltf/qtquick3dgltfexports.h>
20
21#include <QtCore/qbytearray.h>
22#include <QtCore/qstring.h>
23
25
26namespace QSSGGltfResourceResolver {
27
28Q_QUICK3DGLTF_EXPORT bool isDataUri(QStringView uri);
29Q_QUICK3DGLTF_EXPORT QByteArray decodeDataUri(QStringView uri, QString *errorMessage = nullptr);
30Q_QUICK3DGLTF_EXPORT QString resolveFilePath(QStringView uri, const QString &baseDir);
31Q_QUICK3DGLTF_EXPORT QByteArray loadUri(QStringView uri, const QString &baseDir, QString *errorMessage = nullptr);
32
33} // namespace QSSGGltfResourceResolver
34
35QT_END_NAMESPACE
36
37#endif // QSSGGLTFRESOURCERESOLVER_P_H
Combined button and popup list for selecting options.
QT_BEGIN_NAMESPACE QT_DECLARE_EXPORTED_QT_LOGGING_CATEGORY(lcAotCompiler, Q_QMLCOMPILER_EXPORT)