![]() |
Qt 6.x
The Qt SDK
|
#include "qlibrary.h"#include "qlibrary_p.h"#include <q20algorithm.h>#include <qbytearraymatcher.h>#include <qdebug.h>#include <qendian.h>#include <qfile.h>#include <qfileinfo.h>#include <qjsondocument.h>#include <qmap.h>#include <qmutex.h>#include <qoperatingsystemversion.h>#include <qstringlist.h>#include <private/qcoreapplication_p.h>#include <private/qloggingregistry_p.h>#include <private/qsystemerror_p.h>#include "qcoffpeparser_p.h"#include "qelfparser_p.h"#include "qfactoryloader_p.h"#include "qmachparser_p.h"#include <qtcore_tracepoints_p.h>#include "moc_qlibrary.cpp"
Include dependency graph for qlibrary.cpp:Go to the source code of this file.
Classes | |
| class | QLibraryStore |
Functions | |
| Q_TRACE_POINT (qtcore, QLibraryPrivate_load_entry, const QString &fileName) | |
| Q_TRACE_POINT (qtcore, QLibraryPrivate_load_exit, bool success) | |
| if (i< 0) | |
| static QLibraryScanResult | findPatternUnloaded (const QString &library, QLibraryPrivate *lib) |
| static void | installCoverageTool (QLibraryPrivate *libPrivate) |
| static void | qlibraryCleanup () |
| static bool | qt_get_metadata (QLibraryPrivate *priv, QString *errMsg) |
| bool | qt_debug_component () |
Variables | |
| static constexpr bool | PluginMustMatchQtDebug |
| static constexpr bool | QtBuildIsDebug = true |
| qsizetype | s_len |
| qsizetype QString * | errMsg |
| qsizetype | i = matcher.indexIn({s, s_len}) |
| return { i, s_len - i } | |
| static Q_CONSTINIT QBasicMutex | qt_library_mutex |
| static Q_CONSTINIT QLibraryStore * | qt_library_data = nullptr |
| static Q_CONSTINIT bool | qt_library_data_once |
|
static |
Definition at line 213 of file qlibrary.cpp.
References QString::arg(), QByteArray::constData(), errMsg, QIODevice::errorString(), QPluginParsedMetaData::errorString(), QLibraryPrivate::errorString, file, QFileDevice::map(), QLibraryPrivate::metaData, QFile::open(), QPluginParsedMetaData::parse(), Q_INT64_C, qCDebug, qCWarning, qMin(), qUtf16Printable, QIODevice::read(), QIODeviceBase::ReadOnly, QFile::size(), QPluginParsedMetaData::toJson(), and QJsonDocument::toJson().
Referenced by QLibraryPrivate::updatePluginState().
Here is the call graph for this function:
Here is the caller graph for this function:| if | ( | ) |
Definition at line 195 of file qlibrary.cpp.
References QString::arg(), and errMsg.
Here is the call graph for this function:
|
static |
Definition at line 279 of file qlibrary.cpp.
References QLibraryPrivate::fileName, qDebug, qUtf16Printable, qWarning, ret, and QString::toLocal8Bit().
Referenced by QLibraryPrivate::load(), and QTest::qtest_qParseArgs().
Here is the call graph for this function:
Here is the caller graph for this function:| Q_TRACE_POINT | ( | qtcore | , |
| QLibraryPrivate_load_entry | , | ||
| const QString & | fileName | ||
| ) |
| Q_TRACE_POINT | ( | qtcore | , |
| QLibraryPrivate_load_exit | , | ||
| bool | success | ||
| ) |
|
static |
Definition at line 378 of file qlibrary.cpp.
References QLibraryStore::cleanup().
Here is the call graph for this function:| bool qt_debug_component | ( | ) |
Definition at line 1151 of file qlibrary.cpp.
References qEnvironmentVariableIntValue(), and QT_PREPEND_NAMESPACE().
Here is the call graph for this function:
|
static |
Definition at line 669 of file qlibrary.cpp.
References QString::arg(), QPluginMetaData::data, errMsg, error, QPluginMetaData::MagicString, priv(), and QPluginMetaData::size.
Referenced by QLibraryPrivate::updatePluginState().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 164 of file qlibrary.cpp.
Referenced by findPatternUnloaded(), if(), and qt_get_metadata().
Definition at line 194 of file qlibrary.cpp.
|
staticconstexpr |
Definition at line 43 of file qlibrary.cpp.
Referenced by QLibraryPrivate::updatePluginState().
|
static |
Definition at line 329 of file qlibrary.cpp.
Referenced by QLibraryStore::~QLibraryStore(), and QLibraryStore::cleanup().
|
static |
Definition at line 330 of file qlibrary.cpp.
|
static |
Definition at line 328 of file qlibrary.cpp.
Referenced by QLibraryStore::findOrCreate(), QLibraryStore::releaseLibrary(), and QLibraryPrivate::setLoadHints().
|
staticconstexpr |
Definition at line 53 of file qlibrary.cpp.
Referenced by QLibraryPrivate::updatePluginState().
Definition at line 200 of file qlibrary.cpp.
| qsizetype s_len |
Definition at line 164 of file qlibrary.cpp.