Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qqmljsloadergenerator_p.h File Reference
#include <private/qtqmlcompilerexports_p.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_PRIVATE_EXPORT qQmlJSGenerateLoader (const QStringList &compiledFiles, const QString &outputFileName, const QStringList &resourceFileMappings, QString *errorString)
 
QString Q_QMLCOMPILER_PRIVATE_EXPORT qQmlJSSymbolNamespaceForPath (const QString &relativePath)
 

Function Documentation

◆ qQmlJSGenerateLoader()

QT_BEGIN_NAMESPACE bool Q_QMLCOMPILER_PRIVATE_EXPORT qQmlJSGenerateLoader ( const QStringList compiledFiles,
const QString outputFileName,
const QStringList resourceFileMappings,
QString errorString 
)

Definition at line 93 of file qqmljsloadergenerator.cpp.

References i, QString::indexOf(), QString::isEmpty(), QString::mid(), qQmlJSSymbolNamespaceForPath(), QStringLiteral, qtResourceNameForFile(), QByteArray::size(), QIODeviceBase::Truncate, QString::truncate(), and QIODeviceBase::WriteOnly.

+ Here is the call graph for this function:

◆ qQmlJSSymbolNamespaceForPath()

QString Q_QMLCOMPILER_PRIVATE_EXPORT qQmlJSSymbolNamespaceForPath ( const QString relativePath)

Definition at line 67 of file qqmljsloadergenerator.cpp.

References QFileInfo::baseName(), QString::clear(), QFileInfo::completeSuffix(), fi, mangledIdentifier(), QFileInfo::path(), 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: