Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#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 <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 <QtCore/q20map.h>
#include "moc_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 214 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().
if | ( | ) |
Definition at line 196 of file qlibrary.cpp.
References errMsg.
|
static |
Definition at line 280 of file qlibrary.cpp.
References qDebug, qUtf16Printable, qWarning, and ret.
Referenced by QLibraryPrivate::load(), and QTest::qtest_qParseArgs().
Q_TRACE_POINT | ( | qtcore | , |
QLibraryPrivate_load_entry | , | ||
const QString & | fileName ) |
Q_TRACE_POINT | ( | qtcore | , |
QLibraryPrivate_load_exit | , | ||
bool | success ) |
|
static |
Definition at line 376 of file qlibrary.cpp.
References QLibraryStore::cleanup().
bool qt_debug_component | ( | ) |
Definition at line 1160 of file qlibrary.cpp.
References qEnvironmentVariableIntValue().
|
static |
Definition at line 676 of file qlibrary.cpp.
References QPluginMetaData::data, errMsg, error, QPluginMetaData::MagicString, priv(), and QPluginMetaData::size.
Referenced by QLibraryPrivate::updatePluginState().
Definition at line 165 of file qlibrary.cpp.
Referenced by findPatternUnloaded(), if(), and qt_get_metadata().
Definition at line 195 of file qlibrary.cpp.
|
staticconstexpr |
Definition at line 44 of file qlibrary.cpp.
Referenced by QLibraryPrivate::updatePluginState().
|
static |
Definition at line 330 of file qlibrary.cpp.
Referenced by QLibraryStore::~QLibraryStore(), and QLibraryStore::cleanup().
|
static |
Definition at line 331 of file qlibrary.cpp.
|
static |
Definition at line 329 of file qlibrary.cpp.
Referenced by QLibraryStore::findOrCreate(), QLibraryStore::releaseLibrary(), and QLibraryPrivate::setLoadHints().
|
staticconstexpr |
Definition at line 54 of file qlibrary.cpp.
Referenced by QLibraryPrivate::updatePluginState().
Definition at line 201 of file qlibrary.cpp.
qsizetype s_len |
Definition at line 165 of file qlibrary.cpp.