-bundle-non-qt-libs
[ci skip]
This commit is contained in:
@@ -48,6 +48,7 @@ int main(int argc, char **argv)
|
|||||||
qDebug() << " -no-plugins : Skip plugin deployment";
|
qDebug() << " -no-plugins : Skip plugin deployment";
|
||||||
qDebug() << " -appimage : Create an AppImage";
|
qDebug() << " -appimage : Create an AppImage";
|
||||||
qDebug() << " -no-strip : Don't run 'strip' on the binaries";
|
qDebug() << " -no-strip : Don't run 'strip' on the binaries";
|
||||||
|
qDebug() << " -bundle-non-qt-libs : Also bundle non-core, non-Qt libraries";
|
||||||
qDebug() << " -executable=<path> : Let the given executable use the deployed libraries too";
|
qDebug() << " -executable=<path> : Let the given executable use the deployed libraries too";
|
||||||
qDebug() << " -qmldir=<path> : Scan for QML imports in the given path";
|
qDebug() << " -qmldir=<path> : Scan for QML imports in the given path";
|
||||||
qDebug() << " -always-overwrite : Copy files even if the target file exists";
|
qDebug() << " -always-overwrite : Copy files even if the target file exists";
|
||||||
@@ -105,6 +106,7 @@ int main(int argc, char **argv)
|
|||||||
bool plugins = true;
|
bool plugins = true;
|
||||||
bool appimage = false;
|
bool appimage = false;
|
||||||
extern bool runStripEnabled;
|
extern bool runStripEnabled;
|
||||||
|
extern bool bundleAllButCoreLibs;
|
||||||
extern bool alwaysOwerwriteEnabled;
|
extern bool alwaysOwerwriteEnabled;
|
||||||
extern QStringList librarySearchPath;
|
extern QStringList librarySearchPath;
|
||||||
QStringList additionalExecutables;
|
QStringList additionalExecutables;
|
||||||
@@ -122,6 +124,9 @@ int main(int argc, char **argv)
|
|||||||
} else if (argument == QByteArray("-no-strip")) {
|
} else if (argument == QByteArray("-no-strip")) {
|
||||||
LogDebug() << "Argument found:" << argument;
|
LogDebug() << "Argument found:" << argument;
|
||||||
runStripEnabled = false;
|
runStripEnabled = false;
|
||||||
|
} else if (argument == QByteArray("-bundle-non-qt-libs")) {
|
||||||
|
LogDebug() << "Argument found:" << argument;
|
||||||
|
bundleAllButCoreLibs = true;
|
||||||
} else if (argument.startsWith(QByteArray("-verbose"))) {
|
} else if (argument.startsWith(QByteArray("-verbose"))) {
|
||||||
LogDebug() << "Argument found:" << argument;
|
LogDebug() << "Argument found:" << argument;
|
||||||
int index = argument.indexOf("=");
|
int index = argument.indexOf("=");
|
||||||
|
|||||||
Reference in New Issue
Block a user