![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <QCoreApplication>#include <QCommandLineParser>#include <QCommandLineOption>#include <QDebug>#include <QDir>#include <QDirIterator>#include <QFile>#include <QFileInfo>#include <QHash>#include <QJsonDocument>#include <QJsonObject>#include <QJsonArray>#include <QProcess>#include <QStandardPaths>#include <QString>#include <QStringList>#include <QSet>#include <QElapsedTimer>#include <QRegularExpression>#include "../shared/depfile_shared.h"Go to the source code of this file.
Classes | |
| struct | Options |
| class | QProcessExt |
| struct | PromotedReason |
| struct | TestQmlModule |
| struct | QtDependency |
| struct | QmlImportInfo |
Functions | |
| static void | printHelp () |
| static bool | parseCommandLine (const QStringList &arguments, Options *options) |
| static bool | readInputConfiguration (Options *options) |
| static bool | copyFileIfNewer (const QString &sourceFileName, const QString &destinationFileName, bool verbose, bool forceOverwrite=false) |
| static bool | writeDepfile (const Options &options, const QString &hapOutputPath) |
| static bool | copyRecursively (const QString &sourceDir, const QString &destDir, bool verbose) |
| static bool | copyTemplate (const Options &options) |
| static bool | reasonNeedsPromotion (const QString &reason) |
| static QString | synthesizePermissionReasonId (const QString &permissionName) |
| static QString | jsonStringEscape (const QString &s) |
| static bool | isValidHarmonyOsAbilityOrientation (const QString &value) |
| static bool | customizeTemplate (const Options &options) |
| static bool | copyApplicationBinary (const Options &options) |
| static bool | copyFileToArchitectures (const Options &options, const QString &sourcePath, const QString &relativeDestPath, bool trackInDepfile=true) |
| static QString | findStdCppLibrary (const Options &options, const QString &arch) |
| static bool | copyProjectLibraries (const Options &options) |
| static void | scanTestBinariesDir (const QString &dirPath, const QStringList &excludeList, const QStringList &excludeDirs, QStringList &found, QStringList &foundHelpers, QSet< QString > &helperNames) |
| static bool | copyTestBinaries (const Options &options, QStringList &bundledBinaries) |
| static bool | writeTestBinariesList (const Options &options, const QStringList &bundledBinaries) |
| static QString | readElfSoname (const Options &options, const QString &binaryPath) |
| static bool | copyAllQtLibs (const Options &options) |
| static bool | copyAllQtPlugins (const Options &options) |
| static bool | copyExtraPlugins (const Options &options) |
| static bool | copyQmlDir (const QString &srcDir, const QString &relPath, const QString &qmlDestBase, const Options &options) |
| static QString | hapQmlDir (const Options &options) |
| static bool | copyAllQmlModules (const Options &options) |
| static bool | readQmldirLines (const QString &qmldirPath, QStringList &lines) |
| static bool | copyQmldirPlugins (const QString &qmldirPath, const Options &options) |
| static bool | getQmldirModuleUri (const QString &qmldirPath, QString &uri) |
| static QString | findNearestEnclosingTestDir (const QString &startDir, const QSet< QString > &testDirs) |
| static bool | getTestQmlModuleDeployDir (const TestQmlModule &testModule, QString &deployDir) |
| static QList< TestQmlModule > | findTestQmlModules (const Options &options) |
| static bool | verifyUniqueTestQmlModuleDeployDirs (const QList< TestQmlModule > &modules) |
| static bool | copyTestQmlModuleFiles (const QString &moduleSrcDirPath, const QString &destModuleDirPath, const Options &options) |
| static bool | copyTestQmlModules (const QList< TestQmlModule > &modules, const Options &options) |
| static QString | findLlvmReadobj (const Options &options) |
| static QStringList | readElfDependencies (const Options &options, const QString &binaryPath) |
| static QString | findExtraDepLibrary (const Options &options, const QString &libName) |
| static bool | isSystemLibrary (const QString &libName) |
| static QString | findQtLibrary (const Options &options, const QString &libName) |
| static bool | detectAndCopyDependencies (const Options &options, QSet< QString > &processedLibs) |
| static QString | findQtPluginsDirectory (const Options &options) |
| static bool | copyPlatformPlugin (const Options &options, const QString &qtPluginsPath, QSet< QString > &processedLibs) |
| static bool | copyPlugins (const Options &options, QSet< QString > &processedLibs) |
| static QList< QmlImportInfo > | scanQmlImports (const Options &options) |
| static bool | copyQmlFiles (const Options &options) |
| static bool | copyQmlImports (const Options &options, const QList< QmlImportInfo > &imports, QSet< QString > &processedLibs) |
| static bool | injectSigningConfig (const Options &options) |
| static bool | buildHap (const Options &options, QString *hapOutputPath=nullptr) |
| static bool | installToDevice (const Options &options, const QString &hapPath) |
| int | main (int argc, char *argv[]) |
Variables | |
| static QStringList | dependenciesForDepfile |
Definition at line 3144 of file main.cpp.
References Options::buildPackage, Options::releaseMode, and Options::verbose.
|
static |
Definition at line 1728 of file main.cpp.
References Options::verbose.
Referenced by main().
|
static |
Definition at line 1490 of file main.cpp.
References Options::verbose.
Referenced by main().
|
static |
Definition at line 1568 of file main.cpp.
References Options::verbose.
Referenced by main().
|
static |
Definition at line 1171 of file main.cpp.
References Options::verbose.
Referenced by main().
|
static |
Definition at line 1651 of file main.cpp.
References Options::verbose.
Referenced by main().
|
static |
Definition at line 2331 of file main.cpp.
References Options::verbose.
Definition at line 2421 of file main.cpp.
References Options::verbose.
|
static |
Definition at line 1282 of file main.cpp.
References Options::verbose.
Referenced by main().
|
static |
Definition at line 2722 of file main.cpp.
References Options::verbose.
Referenced by main().
|
static |
Definition at line 2760 of file main.cpp.
References Options::verbose.
|
static |
Definition at line 592 of file main.cpp.
References Options::verbose.
Referenced by main().
|
static |
Definition at line 1371 of file main.cpp.
References Options::verbose.
|
static |
Definition at line 1937 of file main.cpp.
References dependenciesForDepfile.
|
static |
|
static |
Definition at line 705 of file main.cpp.
References Options::harmonyOsAppVersionCode, Options::testBundleMode, and Options::verbose.
Referenced by main().
Definition at line 2161 of file main.cpp.
References Options::verbose.
|
static |
|
static |
|
static |
Definition at line 2988 of file main.cpp.
References Options::verbose.
Referenced by main().
Definition at line 3262 of file main.cpp.
References Options::installApk, and Options::verbose.
|
static |
| int main | ( | int | argc, |
| char * | argv[] ) |
Definition at line 3359 of file main.cpp.
References copyAllQmlModules(), copyAllQtLibs(), copyAllQtPlugins(), copyApplicationBinary(), copyExtraPlugins(), copyProjectLibraries(), copyQmlFiles(), copyTemplate(), customizeTemplate(), injectSigningConfig(), readInputConfiguration(), Options::testBundleMode, and Options::verbose.
|
static |
Definition at line 152 of file main.cpp.
References Options::buildPackage, Options::installApk, printHelp(), Options::releaseMode, Options::testBundleMode, and Options::verbose.
|
static |
|
static |
Definition at line 239 of file main.cpp.
References Options::testBundleMode, and Options::verbose.
Referenced by main().
|
static |
|
static |
Definition at line 2523 of file main.cpp.
References Options::verbose.
|
static |
|
static |
Definition at line 520 of file main.cpp.
References Options::verbose.
|
static |
Definition at line 1460 of file main.cpp.
References Options::verbose.
|
static |