![]() |
Qt 6.x
The Qt SDK
|
#include "qtmoduleinfo.h"#include "utils.h"#include <QDirIterator>#include <QJsonDocument>#include <QJsonArray>#include <QDebug>#include <iostream>#include <algorithm>#include <unordered_map>
Include dependency graph for qtmoduleinfo.cpp:Go to the source code of this file.
Classes | |
| struct | TranslationCatalog |
Typedefs | |
| using | TranslationCatalogs = std::vector< TranslationCatalog > |
Functions | |
| static QStringList | toStringList (const QJsonArray &jsonArray) |
| static TranslationCatalogs | readTranslationsCatalogs (const QString &translationsDir, bool verbose, QString *errorString) |
| static QtModule | moduleFromJsonFile (const QString &filePath, QString *errorString) |
| static void | dump (const QtModule &module) |
Definition at line 35 of file qtmoduleinfo.cpp.
Definition at line 106 of file qtmoduleinfo.cpp.
References QString::isEmpty(), QtModule::name, QtModule::pluginTypes, qDebug, qUtf8Printable, and QtModule::translationCatalog.
Here is the call graph for this function:Definition at line 77 of file qtmoduleinfo.cpp.
References QJsonParseError::error, QJsonParseError::errorString(), file, QFile::fileName(), QJsonDocument::fromJson(), QtModule::internal, QtModule::name, QJsonParseError::NoError, QFile::open(), QtModule::pluginTypes, QIODevice::readAll(), QIODeviceBase::ReadOnly, QtModule::repository, and toStringList().
Referenced by QtModuleInfoStore::populate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 37 of file qtmoduleinfo.cpp.
References QJsonParseError::error, QJsonParseError::errorString(), file, QFile::fileName(), QJsonDocument::fromJson(), item, TranslationCatalog::modules, TranslationCatalog::name, QJsonParseError::NoError, QFile::open(), qUtf8Printable, QIODevice::readAll(), QIODeviceBase::ReadOnly, TranslationCatalog::repositories, and toStringList().
Referenced by QtModuleInfoStore::populate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 18 of file qtmoduleinfo.cpp.
References item.
Referenced by moduleFromJsonFile(), readTranslationsCatalogs(), QPlaceManagerEngineOsm::search(), and QQuickFontDialogImplAttached::selectFontInListViews().
Here is the caller graph for this function: