![]() |
Qt 6.x
The Qt SDK
|
#include "qqmlimport_p.h"#include <QtCore/qdebug.h>#include <QtCore/qdir.h>#include <QtQml/qqmlfile.h>#include <QtCore/qfileinfo.h>#include <QtCore/qpluginloader.h>#include <QtCore/qlibraryinfo.h>#include <QtCore/qloggingcategory.h>#include <QtQml/qqmlextensioninterface.h>#include <QtQml/qqmlextensionplugin.h>#include <private/qqmlextensionplugin_p.h>#include <private/qqmlglobal_p.h>#include <private/qqmltypenamecache_p.h>#include <private/qqmlengine_p.h>#include <private/qqmltypemodule_p.h>#include <private/qqmltypeloaderqmldircontent_p.h>#include <private/qqmlpluginimporter_p.h>#include <QtCore/qjsonobject.h>#include <QtCore/qjsonarray.h>#include <QtQml/private/qqmltype_p_p.h>#include <QtQml/private/qqmlimportresolver_p.h>#include <algorithm>#include <functional>
Include dependency graph for qqmlimport.cpp:Go to the source code of this file.
Classes | |
| class | QmlImportCategoryHolder |
Macros | |
| #define | RESOLVE_TYPE_DEBUG |
Functions | |
| const QLoggingCategory & | lcQmlImport () |
| bool | excludeBaseUrl (const QString &importUrl, const QString &fileName, const QString &baseUrl) |
| void | findCompositeSingletons (const QQmlImportNamespace &set, QList< QQmlImports::CompositeSingletonReference > &resultList, const QUrl &baseUrl) |
| static QString | pathWithoutFileSelectors (QString path, qsizetype firstPlus) |
| static QStringList | parseEnvPath (const QString &envImportPath) |
Variables | |
| static const QLatin1Char | Dot ('.') |
| static const QLatin1Char | Slash ('/') |
| static const QLatin1Char | Backslash ('\\') |
| static const QLatin1Char | Colon (':') |
| static const QLatin1String | Slash_qmldir ("/qmldir") |
| static const QLatin1String | String_qmldir ("qmldir") |
| static const QString | dotqml_string (QStringLiteral(".qml")) |
| static const QString | dotuidotqml_string (QStringLiteral(".ui.qml")) |
| static bool | designerSupportRequired = false |
| #define RESOLVE_TYPE_DEBUG |
| bool excludeBaseUrl | ( | const QString & | importUrl, |
| const QString & | fileName, | ||
| const QString & | baseUrl | ||
| ) |
Definition at line 270 of file qqmlimport.cpp.
References baseUrl, fileName, QString::isEmpty(), and QString::size().
Referenced by findCompositeSingletons().
Here is the call graph for this function:
Here is the caller graph for this function:| void findCompositeSingletons | ( | const QQmlImportNamespace & | set, |
| QList< QQmlImports::CompositeSingletonReference > & | resultList, | ||
| const QUrl & | baseUrl | ||
| ) |
Definition at line 284 of file qqmlimport.cpp.
References QList< T >::append(), baseUrl, QMultiHash< QString, QQmlDirParser::Component >::const_iterator, QQmlType::elementName(), excludeBaseUrl(), QTypeRevision::hasMajorVersion(), QTypeRevision::majorVersion(), QTypeRevision::minorVersion(), set, QUrl::toString(), QQmlMetaType::typeModule(), and QQmlType::version().
Referenced by QQmlImports::resolvedCompositeSingletons().
Here is the call graph for this function:
Here is the caller graph for this function:| const QLoggingCategory & lcQmlImport | ( | ) |
Definition at line 63 of file qqmlimport.cpp.
Referenced by QQmlImports::addFileImport(), QQmlImports::addImplicitImport(), QQmlImportDatabase::addImportPath(), QQmlImports::addLibraryImport(), QQmlImportDatabase::addPluginPath(), QQmlPluginImporter::importPlugins(), QQmlTypeLoader::Blob::loadDependentImports(), QQmlImportDatabase::locateLocalQmldir(), QQmlImports::resolveType(), QQmlImportDatabase::setImportPathList(), QQmlImportDatabase::setPluginPathList(), and QQmlImports::updateQmldirContent().
Here is the caller graph for this function:
|
static |
Definition at line 1520 of file qqmlimport.cpp.
References QSet< T >::begin(), QSet< T >::end(), QSet< T >::erase(), QSet< T >::isEmpty(), it, QDir::listSeparator(), Qt::SkipEmptyParts, and QString::split().
Referenced by QQmlImportDatabase::QQmlImportDatabase().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 995 of file qqmlimport.cpp.
References Q_ASSERT.
|
static |
Referenced by QQmlImports::addFileImport(), QQmlImportDatabase::addImportPath(), and qQmlResolveImportPaths().
|
static |
Referenced by QQmlImports::addFileImport(), and QQmlImports::urlFromLocalFileOrQrcOrUrl().
|
static |
Definition at line 79 of file qqmlimport.cpp.
Referenced by QQmlImports::setDesignerSupportRequired().
|
static |
Referenced by QTextStreamPrivate::getReal(), and QQmlImportNamespace::resolveType().
|
static |
Referenced by QQmlImportInstance::resolveType().
|
static |
Referenced by QQmlImportInstance::resolveType().
|
static |
|
static |
Referenced by QQmlImports::addFileImport(), and QQmlImports::completeQmldirPaths().
|
static |
Referenced by QQmlImports::addFileImport().