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
qmlutils.h File Reference

(05fc3aef53348fb58be6308076e000825b704e58)

#include "utils.h"
#include <QStringList>
+ Include dependency graph for qmlutils.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  QmlImportScanResult
 
struct  QmlImportScanResult::Module
 

Functions

QT_BEGIN_NAMESPACE QString findQmlDirectory (Platform platform, const QString &startDirectoryName)
 
bool operator== (const QmlImportScanResult::Module &m1, const QmlImportScanResult::Module &m2)
 
QmlImportScanResult runQmlImportScanner (const QString &directory, const QStringList &qmlImportPaths, bool usesWidgets, int platform, DebugMatchMode debugMatchMode, QString *errorMessage)
 

Function Documentation

◆ findQmlDirectory()

QT_BEGIN_NAMESPACE QString findQmlDirectory ( Platform platform,
const QString & startDirectoryName )

Definition at line 53 of file qmlutils.cpp.

References isBuildDirectory(), platform(), and qmlDirectoryRecursion().

Referenced by deploy().

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

◆ operator==()

bool operator== ( const QmlImportScanResult::Module & m1,
const QmlImportScanResult::Module & m2 )

Definition at line 19 of file qmlutils.cpp.

◆ runQmlImportScanner()

QmlImportScanResult runQmlImportScanner ( const QString & directory,
const QStringList & qmlImportPaths,
bool usesWidgets,
int platform,
DebugMatchMode debugMatchMode,
QString * errorMessage )

Definition at line 76 of file qmlutils.cpp.

References arguments, QJsonArray::count(), QDir::currentPath(), directory, errorMessage(), findFileRecursion(), QJsonDocument::fromJson(), QString::fromLocal8Bit(), QString::number(), platform(), Q_UNUSED, QStringLiteral, runProcess(), and toString().

Referenced by deploy().

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