![]() |
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 <QString>#include <QStringList>#include <QDebug>#include <iostream>#include <utility>#include <QProcess>#include <QDir>#include <QSet>#include <QVariant>#include <QVariantMap>#include <QStack>#include <QDirIterator>#include <QLibraryInfo>#include <QJsonDocument>#include <QJsonObject>#include <QJsonArray>#include <QJsonValue>#include <QRegularExpression>#include <QSaveFile>#include "shared.h"Go to the source code of this file.
Functions | |
| bool | operator== (const FrameworkInfo &a, const FrameworkInfo &b) |
| QDebug | operator<< (QDebug debug, const FrameworkInfo &info) |
| QDebug | operator<< (QDebug debug, const ApplicationBundleInfo &info) |
| bool | copyFilePrintStatus (const QString &from, const QString &to) |
| bool | linkFilePrintStatus (const QString &file, const QString &link) |
| void | patch_debugInInfoPlist (const QString &infoPlistPath) |
| OtoolInfo | findDependencyInfo (const QString &binaryPath) |
| FrameworkInfo | parseOtoolLibraryLine (const QString &line, const QString &appBundlePath, const QList< QString > &rpaths, bool useDebugLibs) |
| QString | findAppBinary (const QString &appBundlePath) |
| QStringList | findAppFrameworkNames (const QString &appBundlePath) |
| QStringList | findAppFrameworkPaths (const QString &appBundlePath) |
| QStringList | findAppLibraries (const QString &appBundlePath) |
| QStringList | findAppBundleFiles (const QString &appBundlePath, bool absolutePath=false) |
| QString | findEntitlementsFile (const QString &path) |
| QList< FrameworkInfo > | getQtFrameworks (const QList< DylibInfo > &dependencies, const QString &appBundlePath, const QList< QString > &rpaths, bool useDebugLibs) |
| QString | resolveDyldPrefix (const QString &path, const QString &loaderPath, const QString &executablePath) |
| QList< QString > | getBinaryRPaths (const QString &path, bool resolve=true, QString executablePath=QString()) |
| QList< FrameworkInfo > | getQtFrameworks (const QString &path, const QString &appBundlePath, const QList< QString > &rpaths, bool useDebugLibs) |
| QList< FrameworkInfo > | getQtFrameworksForPaths (const QStringList &paths, const QString &appBundlePath, const QList< QString > &rpaths, bool useDebugLibs) |
| QStringList | getBinaryDependencies (const QString executablePath, const QString &path, const QList< QString > &additionalBinariesContainingRpaths) |
| bool | recursiveCopy (const QString &sourcePath, const QString &destinationPath, const QRegularExpression &ignoreRegExp=QRegularExpression()) |
| void | recursiveCopyAndDeploy (const QString &appBundlePath, const QList< QString > &rpaths, const QString &sourcePath, const QString &destinationPath) |
| QString | copyDylib (const FrameworkInfo &framework, const QString path) |
| QString | copyFramework (const FrameworkInfo &framework, const QString path) |
| void | runInstallNameTool (QStringList options) |
| void | changeIdentification (const QString &id, const QString &binaryPath) |
| void | changeInstallName (const QString &bundlePath, const FrameworkInfo &framework, const QStringList &binaryPaths, bool useLoaderPath) |
| void | addRPath (const QString &rpath, const QString &binaryPath) |
| void | deployRPaths (const QString &bundlePath, const QList< QString > &rpaths, const QString &binaryPath, bool useLoaderPath) |
| void | deployRPaths (const QString &bundlePath, const QList< QString > &rpaths, const QStringList &binaryPaths, bool useLoaderPath) |
| void | changeInstallName (const QString &oldName, const QString &newName, const QString &binaryPath) |
| void | runStrip (const QString &binaryPath) |
| void | stripAppBinary (const QString &bundlePath) |
| DeploymentInfo | deployQtFrameworks (QList< FrameworkInfo > frameworks, const QString &bundlePath, const QStringList &binaryPaths, bool useDebugLibs, bool useLoaderPath) |
| DeploymentInfo | deployQtFrameworks (const QString &appBundlePath, const QStringList &additionalExecutables, bool useDebugLibs) |
| QString | getLibInfix (const QStringList &deployedFrameworks) |
| void | deployPlugins (const ApplicationBundleInfo &appBundleInfo, const QString &pluginSourcePath, const QString pluginDestinationPath, DeploymentInfo deploymentInfo, bool useDebugLibs) |
| void | createQtConf (const QString &appBundlePath) |
| void | deployPlugins (const QString &appBundlePath, DeploymentInfo deploymentInfo, bool useDebugLibs) |
| void | deployQmlImport (const QString &appBundlePath, const QList< QString > &rpaths, const QString &importSourcePath, const QString &importName) |
| static bool | importLessThan (const QVariant &v1, const QVariant &v2) |
| bool | deployQmlImports (const QString &appBundlePath, DeploymentInfo deploymentInfo, QStringList &qmlDirs, QStringList &qmlImportPaths) |
| void | codesignFile (const QString &identity, const QString &filePath) |
| QSet< QString > | codesignBundle (const QString &identity, const QString &appBundlePath, QList< QString > additionalBinariesContainingRpaths) |
| void | codesign (const QString &identity, const QString &appBundlePath) |
| void | createDiskImage (const QString &appBundlePath, const QString &filesystemType) |
| void | fixupFramework (const QString &frameworkName) |
Variables | |
| bool | runStripEnabled = true |
| bool | alwaysOwerwriteEnabled = false |
| bool | runCodesign = true |
| QStringList | librarySearchPath |
| QString | extraEntitlements |
| bool | hardenedRuntime = false |
| bool | secureTimestamp = false |
| bool | appstoreCompliant = false |
| int | logLevel = 1 |
| bool | deployFramework = false |
| const QString | bundleFrameworkDirectory = "Contents/Frameworks" |
Definition at line 878 of file shared.cpp.
Definition at line 843 of file shared.cpp.
| void changeInstallName | ( | const QString & | bundlePath, |
| const FrameworkInfo & | framework, | ||
| const QStringList & | binaryPaths, | ||
| bool | useLoaderPath ) |
Definition at line 851 of file shared.cpp.
| void changeInstallName | ( | const QString & | oldName, |
| const QString & | newName, | ||
| const QString & | binaryPath ) |
Definition at line 926 of file shared.cpp.
Definition at line 1562 of file shared.cpp.
| QSet< QString > codesignBundle | ( | const QString & | identity, |
| const QString & | appBundlePath, | ||
| QList< QString > | additionalBinariesContainingRpaths ) |
Definition at line 1427 of file shared.cpp.
Definition at line 1391 of file shared.cpp.
References hardenedRuntime, runCodesign, and secureTimestamp.
| QString copyDylib | ( | const FrameworkInfo & | framework, |
| const QString | path ) |
Definition at line 737 of file shared.cpp.
Definition at line 77 of file shared.cpp.
References alwaysOwerwriteEnabled.
| QString copyFramework | ( | const FrameworkInfo & | framework, |
| const QString | path ) |
Definition at line 764 of file shared.cpp.
References alwaysOwerwriteEnabled.
Definition at line 1566 of file shared.cpp.
References alwaysOwerwriteEnabled.
Definition at line 1221 of file shared.cpp.
| void deployPlugins | ( | const ApplicationBundleInfo & | appBundleInfo, |
| const QString & | pluginSourcePath, | ||
| const QString | pluginDestinationPath, | ||
| DeploymentInfo | deploymentInfo, | ||
| bool | useDebugLibs ) |
Definition at line 1094 of file shared.cpp.
References appstoreCompliant.
| void deployPlugins | ( | const QString & | appBundlePath, |
| DeploymentInfo | deploymentInfo, | ||
| bool | useDebugLibs ) |
Definition at line 1251 of file shared.cpp.
| void deployQmlImport | ( | const QString & | appBundlePath, |
| const QList< QString > & | rpaths, | ||
| const QString & | importSourcePath, | ||
| const QString & | importName ) |
Definition at line 1261 of file shared.cpp.
| bool deployQmlImports | ( | const QString & | appBundlePath, |
| DeploymentInfo | deploymentInfo, | ||
| QStringList & | qmlDirs, | ||
| QStringList & | qmlImportPaths ) |
Definition at line 1283 of file shared.cpp.
| DeploymentInfo deployQtFrameworks | ( | const QString & | appBundlePath, |
| const QStringList & | additionalExecutables, | ||
| bool | useDebugLibs ) |
Definition at line 1052 of file shared.cpp.
References alwaysOwerwriteEnabled.
| DeploymentInfo deployQtFrameworks | ( | QList< FrameworkInfo > | frameworks, |
| const QString & | bundlePath, | ||
| const QStringList & | binaryPaths, | ||
| bool | useDebugLibs, | ||
| bool | useLoaderPath ) |
Definition at line 976 of file shared.cpp.
References DeploymentInfo::isDebug, FrameworkInfo::isDebugLibrary(), DeploymentInfo::isFramework, and DeploymentInfo::useLoaderPath.
| void deployRPaths | ( | const QString & | bundlePath, |
| const QList< QString > & | rpaths, | ||
| const QString & | binaryPath, | ||
| bool | useLoaderPath ) |
Definition at line 883 of file shared.cpp.
| void deployRPaths | ( | const QString & | bundlePath, |
| const QList< QString > & | rpaths, | ||
| const QStringList & | binaryPaths, | ||
| bool | useLoaderPath ) |
Definition at line 919 of file shared.cpp.
Definition at line 376 of file shared.cpp.
| QStringList findAppBundleFiles | ( | const QString & | appBundlePath, |
| bool | absolutePath = false ) |
Definition at line 456 of file shared.cpp.
| QStringList findAppFrameworkNames | ( | const QString & | appBundlePath | ) |
Definition at line 412 of file shared.cpp.
| QStringList findAppFrameworkPaths | ( | const QString & | appBundlePath | ) |
Definition at line 429 of file shared.cpp.
| QStringList findAppLibraries | ( | const QString & | appBundlePath | ) |
Definition at line 443 of file shared.cpp.
Definition at line 155 of file shared.cpp.
Definition at line 473 of file shared.cpp.
Definition at line 1602 of file shared.cpp.
| QStringList getBinaryDependencies | ( | const QString | executablePath, |
| const QString & | path, | ||
| const QList< QString > & | additionalBinariesContainingRpaths ) |
Definition at line 592 of file shared.cpp.
| QList< QString > getBinaryRPaths | ( | const QString & | path, |
| bool | resolve = true, | ||
| QString | executablePath = QString() ) |
Definition at line 530 of file shared.cpp.
| QString getLibInfix | ( | const QStringList & | deployedFrameworks | ) |
Definition at line 1077 of file shared.cpp.
| QList< FrameworkInfo > getQtFrameworks | ( | const QList< DylibInfo > & | dependencies, |
| const QString & | appBundlePath, | ||
| const QList< QString > & | rpaths, | ||
| bool | useDebugLibs ) |
Definition at line 490 of file shared.cpp.
| QList< FrameworkInfo > getQtFrameworks | ( | const QString & | path, |
| const QString & | appBundlePath, | ||
| const QList< QString > & | rpaths, | ||
| bool | useDebugLibs ) |
Definition at line 569 of file shared.cpp.
| QList< FrameworkInfo > getQtFrameworksForPaths | ( | const QStringList & | paths, |
| const QString & | appBundlePath, | ||
| const QList< QString > & | rpaths, | ||
| bool | useDebugLibs ) |
Definition at line 577 of file shared.cpp.
Definition at line 1273 of file shared.cpp.
Definition at line 114 of file shared.cpp.
|
inline |
Definition at line 69 of file shared.cpp.
| QDebug operator<< | ( | QDebug | debug, |
| const FrameworkInfo & | info ) |
Definition at line 49 of file shared.cpp.
| bool operator== | ( | const FrameworkInfo & | a, |
| const FrameworkInfo & | b ) |
Definition at line 44 of file shared.cpp.
| FrameworkInfo parseOtoolLibraryLine | ( | const QString & | line, |
| const QString & | appBundlePath, | ||
| const QList< QString > & | rpaths, | ||
| bool | useDebugLibs ) |
Definition at line 219 of file shared.cpp.
References FrameworkInfo::isDylib.
Definition at line 133 of file shared.cpp.
| bool recursiveCopy | ( | const QString & | sourcePath, |
| const QString & | destinationPath, | ||
| const QRegularExpression & | ignoreRegExp = QRegularExpression() ) |
Definition at line 643 of file shared.cpp.
| void recursiveCopyAndDeploy | ( | const QString & | appBundlePath, |
| const QList< QString > & | rpaths, | ||
| const QString & | sourcePath, | ||
| const QString & | destinationPath ) |
Definition at line 670 of file shared.cpp.
| QString resolveDyldPrefix | ( | const QString & | path, |
| const QString & | loaderPath, | ||
| const QString & | executablePath ) |
Definition at line 504 of file shared.cpp.
| void runInstallNameTool | ( | QStringList | options | ) |
Definition at line 832 of file shared.cpp.
Definition at line 935 of file shared.cpp.
References runStripEnabled.
Definition at line 951 of file shared.cpp.
| bool alwaysOwerwriteEnabled = false |
Definition at line 30 of file shared.cpp.
Referenced by copyFilePrintStatus(), copyFramework(), createDiskImage(), deployQtFrameworks(), and main().
| bool appstoreCompliant = false |
Definition at line 36 of file shared.cpp.
Referenced by deployPlugins(), and main().
| const QString bundleFrameworkDirectory = "Contents/Frameworks" |
Definition at line 67 of file shared.cpp.
| bool deployFramework = false |
Definition at line 38 of file shared.cpp.
Referenced by main().
| QString extraEntitlements |
Definition at line 33 of file shared.cpp.
| bool hardenedRuntime = false |
Definition at line 34 of file shared.cpp.
Referenced by codesignFile(), and main().
| QStringList librarySearchPath |
Definition at line 32 of file shared.cpp.
Referenced by main().
| int logLevel = 1 |
Definition at line 37 of file shared.cpp.
Referenced by main().
| bool runCodesign = true |
Definition at line 31 of file shared.cpp.
Referenced by codesignFile(), and main().
| bool runStripEnabled = true |
Definition at line 29 of file shared.cpp.
Referenced by main(), and runStrip().
| bool secureTimestamp = false |
Definition at line 35 of file shared.cpp.
Referenced by codesignFile(), and main().