mirror of
https://github.com/QuasarApp/CQtDeployer.git
synced 2025-04-27 02:04:33 +00:00
Удалить старые флаги #15
This commit is contained in:
parent
757853855f
commit
4022c7262f
@ -34,3 +34,6 @@ HEADERS += \
|
||||
deploy.h
|
||||
|
||||
QMAKE_LFLAGS += -Wl,-rpath,"'$$DESTDIR'"
|
||||
|
||||
DISTFILES += \
|
||||
../README.md
|
||||
|
@ -129,10 +129,6 @@ bool Deploy::createRunScript() {
|
||||
void Deploy::deploy() {
|
||||
qInfo() << "target deploy started!!";
|
||||
|
||||
if (QuasarAppUtils::isEndable("ignoreCudaLib")) {
|
||||
ignoreList << "libicudata" << "libicui" << "libicuuc";
|
||||
}
|
||||
|
||||
if (QuasarAppUtils::isEndable("ignore")) {
|
||||
auto list = QuasarAppUtils::getStrArg("ignore").split(',');
|
||||
ignoreList.append(list);
|
||||
@ -154,15 +150,6 @@ void Deploy::deploy() {
|
||||
copyFiles(noQTLibs, targetDir + QDir::separator() + "lib");
|
||||
}
|
||||
|
||||
if (!QuasarAppUtils::isEndable("noStrip")) {
|
||||
strip(targetDir + QDir::separator() + "lib");
|
||||
}
|
||||
|
||||
|
||||
if (!QuasarAppUtils::isEndable("noStrip")) {
|
||||
strip(targetDir + QDir::separator() + "plugins");
|
||||
}
|
||||
|
||||
if (!createRunScript()) {
|
||||
qCritical() << "run script not created!";
|
||||
}
|
||||
|
@ -22,11 +22,9 @@ void help() {
|
||||
qInfo() << " always-overwrite : Copy files even if the target file exists.";
|
||||
qInfo() << " -bin [params] : deployment binry.";
|
||||
qInfo() << " -qmlDir [params] : qml datadir of project. for example -qmlDir ~/my/project/qml";
|
||||
qInfo() << " noStrip : no strip deployed lib";
|
||||
qInfo() << " deploy-not-qt : deploy all libs";
|
||||
qInfo() << " -qmake [params] : qmake path. for example";
|
||||
qInfo() << " | -qmake ~/Qt/5.11.1/gcc_64/bin/qmake";
|
||||
qInfo() << " ignoreCudaLib : it filter ignore cuda lib of nvidea";
|
||||
qInfo() << " -ignore [list,params] : ignore filter for libs";
|
||||
qInfo() << " | for example -ignore libicudata.so.56,libicudata2.so.56";
|
||||
qInfo() << " clear : delete all old deploy data";
|
||||
|
@ -23,11 +23,9 @@ Key differences of this program:
|
||||
| always-overwrite | Copy files even if the target file exists. |
|
||||
| -bin [params] | deployment binry. |
|
||||
| -qmlDir [params] | qml datadir. for example -qmlDir ~/my/project/qml |
|
||||
| noStrip | no strip deployed lib |
|
||||
| deploy-not-qt | deploy all libs |
|
||||
| -qmake [params] | qmake path. for example |
|
||||
| | -qmake ~/Qt/5.11.1/gcc_64/bin/qmake |
|
||||
| ignoreCudaLib | it filter ignore cuda lib of nvidea |
|
||||
| -ignore [list,params] | ignore filter for libs |
|
||||
| | for example -ignore libicudata.so.56,libicudata2.so.56 |
|
||||
| clear | delete all old deploy data |
|
||||
@ -76,11 +74,9 @@ Console QtDeployer является консольной реализацией
|
||||
| always-overwrite | Копирует файлы с заменой уже существующих |
|
||||
| -bin [params] | Исполняемый файл над которым будет выплнятся деплои |
|
||||
| -qmlDir [params] | Папка qml. пример -qmlDir ~/my/project/qml |
|
||||
| noStrip | не выполнять стрип копируемых библиотек |
|
||||
| deploy-not-qt | Копировать все библиотеки |
|
||||
| -qmake [params] | Путь к qmake. пример |
|
||||
| | -qmake ~/Qt/5.11.1/gcc_64/bin/qmake |
|
||||
| ignoreCudaLib | Этот фильтр будет игнорировать библиотеки nvidea |
|
||||
| -ignore [list,params] | Список библиотек для игнорирования |
|
||||
| | пример -ignore libicudata.so.56,libicudata2.so.56 |
|
||||
| clear | удалит все старые файлы (с прошлого запуска) |
|
||||
|
Loading…
x
Reference in New Issue
Block a user