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>.
Loading...
Searching...
No Matches
qqmljsloadergenerator_p.h File Reference

(1b17918d16d2de91bd265b092863f96dbe15efbe)

#include <qtqmlcompilerexports.h>
#include <QtCore/qstring.h>
#include <QtCore/qlist.h>
#include <QtCore/private/qglobal_p.h>
+ Include dependency graph for qqmljsloadergenerator_p.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

QT_BEGIN_NAMESPACE bool Q_QMLCOMPILER_EXPORT qQmlJSGenerateLoader (const QStringList &compiledFiles, const QString &outputFileName, const QStringList &resourceFileMappings, QString *errorString)
 
QString Q_QMLCOMPILER_EXPORT qQmlJSSymbolNamespaceForPath (const QString &relativePath)
 

Function Documentation

◆ qQmlJSGenerateLoader()

QT_BEGIN_NAMESPACE bool Q_QMLCOMPILER_EXPORT qQmlJSGenerateLoader ( const QStringList & compiledFiles,
const QString & outputFileName,
const QStringList & resourceFileMappings,
QString * errorString )

Definition at line 93 of file qqmljsloadergenerator.cpp.

References QString::at(), i, QString::indexOf(), qQmlJSSymbolNamespaceForPath(), QStringLiteral, qtResourceNameForFile(), QIODeviceBase::Truncate, and QIODeviceBase::WriteOnly.

+ Here is the call graph for this function:

◆ qQmlJSSymbolNamespaceForPath()

QString Q_QMLCOMPILER_EXPORT qQmlJSSymbolNamespaceForPath ( const QString & relativePath)

Definition at line 67 of file qqmljsloadergenerator.cpp.

References QString::clear(), mangledIdentifier(), QString::replace(), QString::size(), and QString::startsWith().

Referenced by qQmlJSGenerateLoader(), and qSaveQmlJSUnitAsCpp().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: