![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <QStringList>
#include <QMap>
#include <QtCore/QFile>
#include <QtCore/QDir>
#include <QtCore/QDateTime>
#include <QtCore/QJsonArray>
#include <QtCore/QJsonObject>
#include <QtCore/QJsonDocument>
#include <iostream>
Go to the source code of this file.
Classes | |
struct | PeHeaderInfoStruct |
class | JsonOutput |
class | NameFilterFileEntryFunction |
Enumerations | |
enum | PlatformFlag { WindowsBased = 0x00001 , IntelBased = 0x00010 , ArmBased = 0x00020 , Msvc = 0x00100 , MinGW = 0x00200 , ClangMsvc = 0x00400 , ClangMinGW = 0x00800 , WindowsDesktopMsvc = WindowsBased + Msvc , WindowsDesktopMsvcIntel = WindowsDesktopMsvc + IntelBased , WindowsDesktopMsvcArm = WindowsDesktopMsvc + ArmBased , WindowsDesktopMinGW = WindowsBased + IntelBased + MinGW , WindowsDesktopClangMsvc = WindowsBased + IntelBased + ClangMsvc , WindowsDesktopClangMinGW = WindowsBased + IntelBased + ClangMinGW , UnknownPlatform } |
enum | ListOption { ListNone = 0 , ListSource , ListTarget , ListRelative , ListMapping } |
enum | DebugMatchMode { MatchDebug , MatchRelease , MatchDebugOrRelease } |
enum | UpdateFileFlag { ForceUpdateFile = 0x1 , SkipUpdateFile = 0x2 , RemoveEmptyQmlDirectories = 0x4 , SkipQmlDesignerSpecificsDirectories = 0x8 } |
Variables | |
static const char | windowsSharedLibrarySuffix [] = ".dll" |
const char * | qmakeInfixKey = "QT_INFIX" |
int | optVerboseLevel = 1 |
enum DebugMatchMode |
enum ListOption |
enum PlatformFlag |
enum UpdateFileFlag |
|
inline |
QStringList findDxc | ( | Platform | platform, |
const QString & | qtBinDir, | ||
unsigned | wordSize ) |
QStringList findSharedLibraries | ( | const QDir & | directory, |
Platform | platform, | ||
DebugMatchMode | debugMatchMode, | ||
const QString & | prefix = QString() ) |
Definition at line 81 of file utils.cpp.
References MatchDebug.
|
inline |
Definition at line 517 of file utils.cpp.
References optVerboseLevel.
Definition at line 194 of file utils.cpp.
References qmakeInfixKey.
bool readPeExecutableDependencies | ( | const QString & | peExecutableFileName, |
QString * | errorMessage, | ||
QStringList * | dependentLibraries = 0 ) |
bool readPeExecutableInfo | ( | const QString & | peExecutableFileName, |
QString * | errorMessage, | ||
PeHeaderInfoStruct * | headerInfo ) |
bool runProcess | ( | const QString & | binary, |
const QStringList & | args, | ||
const QString & | workingDirectory = QString(), | ||
unsigned long * | exitCode = 0, | ||
QByteArray * | stdOut = 0, | ||
QByteArray * | stdErr = 0, | ||
QString * | errorMessage = 0, | ||
int | timeout = 30000 ) |
Definition at line 137 of file utils.cpp.
References optVerboseLevel.
|
inline |
Definition at line 147 of file utils.h.
References windowsSharedLibrarySuffix.
|
inline |
bool updateFile | ( | const QString & | sourceFileName, |
const QStringList & | nameFilters, | ||
const QString & | targetDirectory, | ||
unsigned | flags, | ||
JsonOutput * | json, | ||
QString * | errorMessage ) |
Definition at line 249 of file utils.cpp.
References ForceUpdateFile, optVerboseLevel, and SkipUpdateFile.
bool updateFile | ( | const QString & | sourceFileName, |
DirectoryFileEntryFunction | directoryFileEntryFunction, | ||
const QString & | targetDirectory, | ||
unsigned | flags, | ||
JsonOutput * | json, | ||
QString * | errorMessage ) |
Definition at line 214 of file utils.h.
References ForceUpdateFile, optVerboseLevel, RemoveEmptyQmlDirectories, SkipQmlDesignerSpecificsDirectories, and SkipUpdateFile.
|
extern |
Definition at line 28 of file utils.cpp.
Referenced by deploy(), deployPlugin(), deployWebEngineCore(), findQtPlugins(), main(), parseArguments(), parseEarlyArguments(), patchQtCore(), runProcess(), updateFile(), and updateFile().
|
extern |
Definition at line 192 of file utils.cpp.
Referenced by deploy(), PluginInformation::generateAvailablePlugins(), and queryQtPaths().
|
static |
Definition at line 145 of file utils.h.
Referenced by deploy(), and sharedLibrarySuffix().