![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "qqmljsloadergenerator_p.h"#include <QByteArray>#include <QRegularExpression>#include <QString>#include <QStringList>#include <QTextStream>#include <QVector>#include <QtEndian>#include <QStack>#include <QFileInfo>#include <QSaveFile>Go to the source code of this file.
Functions | |
| QT_BEGIN_NAMESPACE QString | mangledIdentifier (const QString &str) |
| QString | qQmlJSSymbolNamespaceForPath (const QString &relativePath) |
| static QString | qtResourceNameForFile (const QString &fileName) |
| bool | qQmlJSGenerateLoader (const QStringList &compiledFiles, const QString &outputFileName, const QStringList &resourceFileMappings, QString *errorString) |
| QT_BEGIN_NAMESPACE QString mangledIdentifier | ( | const QString & | str | ) |
Mangles str to be a unique C++ identifier. Characters that are invalid for C++ identifiers are replaced by the pattern _0x<hex>_ where <hex> is the hexadecimal unicode representation of the character. As identifiers with leading underscores followed by either another underscore or a capital letter are reserved in C++, we also escape those, by escaping the first underscore, using the above method.
Definition at line 34 of file qqmljsloadergenerator.cpp.
| bool qQmlJSGenerateLoader | ( | const QStringList & | compiledFiles, |
| const QString & | outputFileName, | ||
| const QStringList & | resourceFileMappings, | ||
| QString * | errorString ) |
Definition at line 92 of file qqmljsloadergenerator.cpp.
Definition at line 66 of file qqmljsloadergenerator.cpp.
Definition at line 82 of file qqmljsloadergenerator.cpp.