![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "utils.h"#include "qmlutils.h"#include "qtmoduleinfo.h"#include "qtplugininfo.h"#include <QtCore/QCommandLineOption>#include <QtCore/QCommandLineParser>#include <QtCore/QDir>#include <QtCore/QFileInfo>#include <QtCore/QCoreApplication>#include <QtCore/QJsonDocument>#include <QtCore/QJsonObject>#include <QtCore/QJsonArray>#include <QtCore/QList>#include <QtCore/QOperatingSystemVersion>#include <QtCore/QSharedPointer>#include <QtCore/QXmlStreamWriter>#include <QtNetwork/QSslCertificate>#include <QtCore/private/qconfig_p.h>#include <algorithm>#include <cstdio>#include <iostream>#include <iterator>#include <unordered_map>Go to the source code of this file.
Classes | |
| struct | Options |
| class | DllDirectoryFileEntryFunction |
| class | QmlDirectoryFileEntryFunction |
| struct | DeployResult |
Macros | |
| #define | IMAGE_FILE_MACHINE_ARM64 0xaa64 |
| #define | DECLARE_KNOWN_MODULE(name) |
| #define | DEFINE_KNOWN_MODULE(name) |
Enumerations | |
| enum | ExlusiveOptionValue { OptionAuto , OptionEnabled , OptionDisabled , OptionAuto , OptionEnabled , OptionDisabled } |
| enum | CommandLineParseFlag { CommandLineParseError = 0x1 , CommandLineParseHelpRequested = 0x2 , CommandLineVersionRequested = 0x4 , CommandLineParseError = 0x1 , CommandLineParseHelpRequested = 0x2 , CommandLineVersionRequested = 0x4 } |
| enum | ExlusiveOptionValue { OptionAuto , OptionEnabled , OptionDisabled , OptionAuto , OptionEnabled , OptionDisabled } |
| enum | CommandLineParseFlag { CommandLineParseError = 0x1 , CommandLineParseHelpRequested = 0x2 , CommandLineVersionRequested = 0x4 , CommandLineParseError = 0x1 , CommandLineParseHelpRequested = 0x2 , CommandLineVersionRequested = 0x4 } |
Functions | |
| DECLARE_KNOWN_MODULE (3DQuick) | |
| DECLARE_KNOWN_MODULE (Core) | |
| DECLARE_KNOWN_MODULE (Designer) | |
| DECLARE_KNOWN_MODULE (DesignerComponents) | |
| DECLARE_KNOWN_MODULE (Gui) | |
| DECLARE_KNOWN_MODULE (Qml) | |
| DECLARE_KNOWN_MODULE (QmlTooling) | |
| DECLARE_KNOWN_MODULE (Quick) | |
| DECLARE_KNOWN_MODULE (WebEngineCore) | |
| DECLARE_KNOWN_MODULE (Widgets) | |
| static void | assignKnownModuleIds () |
| static QString | webProcessBinary (const char *binaryName, Platform p) |
| static QString | moduleNameToOptionName (const QString &moduleName, bool internal) |
| static QByteArray | formatQtModules (const ModuleBitset &mask, bool option=false) |
| static QString | formatQtPlugins (const PluginInformation &pluginInfo) |
| static Platform | platformFromMkSpec (const QString &xSpec) |
| static ExlusiveOptionValue | parseExclusiveOptions (const QCommandLineParser *parser, const QCommandLineOption &enableOption, const QCommandLineOption &disableOption) |
| static QString | findBinary (const QString &directory, Platform platform) |
| static QString | msgFileDoesNotExist (const QString &file) |
| static QCommandLineOption | createQMakeOption () |
| static QCommandLineOption | createQtPathsOption () |
| static QCommandLineOption | createVerboseOption () |
| static int | parseEarlyArguments (const QStringList &arguments, Options *options, QString *errorMessage) |
| static int | parseArguments (const QStringList &arguments, QCommandLineParser *parser, Options *options, QString *errorMessage) |
| static QString | lineBreak (QString s) |
| static QString | helpText (const QCommandLineParser &p, const PluginInformation &pluginInfo) |
| static bool | isQtModule (const QString &libName) |
| static bool | findDependentQtLibraries (const QString &qtBinDir, const QString &binary, Platform platform, QString *errorMessage, QStringList *qtDependencies, QStringList *nonQtDependencies) |
| static QString | pdbFileName (QString libraryFileName) |
| static QStringList | qmlCacheFileFilters () |
| static qint64 | qtModule (QString module, const QString &infix) |
| static QString | deployPlugin (const QString &plugin, const QDir &subDir, const bool dueToModule, const DebugMatchMode &debugMatchMode, ModuleBitset *pluginNeededQtModules, const ModuleBitset &disabledQtModules, const PluginSelections &pluginSelections, const QString &libraryLocation, const QString &infix, Platform platform, bool deployInsightTrackerPlugin, bool deployOpenSslPlugin) |
| static bool | needsPluginType (const QString &subDirName, const PluginInformation &pluginInfo, const PluginSelections &pluginSelections) |
| QStringList | findQtPlugins (ModuleBitset *usedQtModules, const ModuleBitset &disabledQtModules, const PluginInformation &pluginInfo, const PluginSelections &pluginSelections, const QString &qtPluginsDirName, const QString &libraryLocation, const QString &infix, DebugMatchMode debugMatchModeIn, Platform platform, QString *platformPlugin, bool deployInsightTrackerPlugin, bool deployOpenSslPlugin) |
| static QStringList | translationNameFilters (const ModuleBitset &modules, const QString &prefix) |
| static bool | deployTranslations (const QString &sourcePath, const ModuleBitset &usedQtModules, const QString &target, const Options &options, QString *errorMessage) |
| static QStringList | findFFmpegLibs (const QString &qtBinDir, Platform platform) |
| static QStringList | findOpenSslLibraries (const QString &openSslRootDir, Platform platform) |
| static QString | libraryPath (const QString &libraryLocation, const char *name, const QString &infix, Platform platform, bool debug) |
| static QString | vcDebugRedistDir () |
| static QString | vcRedistDir () |
| static QStringList | findMinGWRuntimePaths (const QString &qtBinDir, Platform platform, const QStringList &runtimeFilters) |
| static QStringList | compilerRunTimeLibs (const QString &qtBinDir, Platform platform, bool isDebug, unsigned short machineArch) |
| static int | qtVersion (const QMap< QString, QString > &qtpathsVariables) |
| static bool | updateLibrary (const QString &sourceFileName, const QString &targetDirectory, const Options &options, QString *errorMessage) |
| static QString | getIcuVersion (const QString &libName) |
| static DeployResult | deploy (const Options &options, const QMap< QString, QString > &qtpathsVariables, const PluginInformation &pluginInfo, QString *errorMessage) |
| static bool | deployWebProcess (const QMap< QString, QString > &qtpathsVariables, const char *binaryName, const PluginInformation &pluginInfo, const Options &sourceOptions, QString *errorMessage) |
| static bool | deployWebEngineCore (const QMap< QString, QString > &qtpathsVariables, const PluginInformation &pluginInfo, const Options &options, bool isDebug, QString *errorMessage) |
| QT_END_NAMESPACE QT_USE_NAMESPACE int | main (int argc, char **argv) |
| [48] | |
Variables | |
| static QtModuleInfoStore | qtModuleEntries |
| static const char | webEngineProcessC [] = "QtWebEngineProcess" |
| #define DECLARE_KNOWN_MODULE | ( | name | ) |
| #define DEFINE_KNOWN_MODULE | ( | name | ) |
| enum CommandLineParseFlag |
| enum CommandLineParseFlag |
| enum ExlusiveOptionValue |
| enum ExlusiveOptionValue |
|
static |
Definition at line 60 of file main.cpp.
References qtModuleEntries.
Referenced by main().
|
static |
Definition at line 1390 of file main.cpp.
References WindowsDesktopClangMinGW, and WindowsDesktopMinGW.
|
static |
|
static |
|
static |
| DECLARE_KNOWN_MODULE | ( | 3DQuick | ) |
| DECLARE_KNOWN_MODULE | ( | Core | ) |
| DECLARE_KNOWN_MODULE | ( | Designer | ) |
| DECLARE_KNOWN_MODULE | ( | DesignerComponents | ) |
| DECLARE_KNOWN_MODULE | ( | Gui | ) |
| DECLARE_KNOWN_MODULE | ( | Qml | ) |
| DECLARE_KNOWN_MODULE | ( | QmlTooling | ) |
| DECLARE_KNOWN_MODULE | ( | Quick | ) |
| DECLARE_KNOWN_MODULE | ( | WebEngineCore | ) |
| DECLARE_KNOWN_MODULE | ( | Widgets | ) |
|
static |
Definition at line 1493 of file main.cpp.
References ClangMsvc, Options::compilerRunTime, Options::debugDetection, Options::DebugDetectionAuto, Options::DebugDetectionForceDebug, Options::DebugDetectionForceRelease, Options::forceOpenSslPlugin, DeployResult::isDebug, Options::libraries, MatchDebug, MatchDebugOrRelease, MatchRelease, Msvc, optVerboseLevel, Options::plugins, qmakeInfixKey, Options::quickImports, Options::softwareRasterizer, DeployResult::success, Options::systemD3dCompiler, Options::systemDxc, Options::translations, WindowsBased, and windowsSharedLibrarySuffix.
|
static |
Definition at line 1001 of file main.cpp.
References MatchDebug, and optVerboseLevel.
|
static |
|
static |
Definition at line 1899 of file main.cpp.
References Options::json, optVerboseLevel, Options::translations, Options::updateFileFlags, and webEngineProcessC.
|
static |
Definition at line 1878 of file main.cpp.
References Options::quickImports, Options::translations, and WindowsBased.
Definition at line 223 of file main.cpp.
References WindowsBased.
|
static |
|
static |
|
static |
Definition at line 1362 of file main.cpp.
References WindowsDesktopClangMinGW.
|
static |
| QStringList findQtPlugins | ( | ModuleBitset * | usedQtModules, |
| const ModuleBitset & | disabledQtModules, | ||
| const PluginInformation & | pluginInfo, | ||
| const PluginSelections & | pluginSelections, | ||
| const QString & | qtPluginsDirName, | ||
| const QString & | libraryLocation, | ||
| const QString & | infix, | ||
| DebugMatchMode | debugMatchModeIn, | ||
| Platform | platform, | ||
| QString * | platformPlugin, | ||
| bool | deployInsightTrackerPlugin, | ||
| bool | deployOpenSslPlugin ) |
Definition at line 1102 of file main.cpp.
References optVerboseLevel.
|
static |
|
static |
|
inlinestatic |
Definition at line 800 of file main.cpp.
References qtModuleEntries.
| QT_END_NAMESPACE QT_USE_NAMESPACE int main | ( | int | argc, |
| char ** | argv ) |
[48]
[dynamic_tooltip]
[5]
[2]
[0]
[6]
[48]
[48]
[6]
[0]
[0]
[1]
[1]
[2]
[2]
[3]
[3]
[0]
[0]
[1]
[1]
[0]
[0]
[0]
[0]
[0]
[0]
Definition at line 1970 of file main.cpp.
References ArmBased, assignKnownModuleIds(), CommandLineParseError, CommandLineParseHelpRequested, CommandLineVersionRequested, Options::createAppx, IntelBased, Options::json, optVerboseLevel, qtModuleEntries, UnknownPlatform, and WindowsDesktopMsvc.
|
static |
|
inlinestatic |
Definition at line 335 of file main.cpp.
References CommandLineParseError, CommandLineParseHelpRequested, CommandLineVersionRequested, Options::compilerRunTime, Options::createAppx, Options::debugDetection, Options::DebugDetectionForceDebug, Options::DebugDetectionForceRelease, Options::deployInsightTrackerPlugin, Options::deployPdb, Options::dryRun, Options::ffmpeg, Options::forceOpenSslPlugin, ForceUpdateFile, Options::ignoreLibraryErrors, Options::json, Options::libraries, MinGW, OptionAuto, OptionDisabled, OptionEnabled, optVerboseLevel, Options::patchQt, Options::plugins, Options::qmlImportTimeout, qtModuleEntries, Options::quickImports, SkipUpdateFile, Options::softwareRasterizer, Options::systemD3dCompiler, Options::systemDxc, Options::translations, Options::updateFileFlags, WindowsBased, WindowsDesktopClangMinGW, WindowsDesktopMinGW, and WindowsDesktopMsvc.
|
static |
Definition at line 276 of file main.cpp.
References CommandLineParseError, and optVerboseLevel.
|
static |
Definition at line 159 of file main.cpp.
References OptionAuto, OptionDisabled, and OptionEnabled.
Definition at line 135 of file main.cpp.
References UnknownPlatform, WindowsDesktopClangMinGW, WindowsDesktopClangMsvc, WindowsDesktopMinGW, WindowsDesktopMsvc, and WindowsDesktopMsvcArm.
|
inlinestatic |
|
static |
|
static |
Definition at line 1463 of file main.cpp.
References Options::deployPdb, and Options::ignoreLibraryErrors.
Definition at line 87 of file main.cpp.
References WindowsBased.
|
static |
Definition at line 41 of file main.cpp.
Referenced by assignKnownModuleIds(), helpText(), main(), and parseArguments().
|
static |
Definition at line 85 of file main.cpp.
Referenced by deployWebEngineCore().