From 1d8f97238177f50646e455d778dca665240382c0 Mon Sep 17 00:00:00 2001 From: probonopd Date: Sat, 18 Feb 2017 20:23:48 +0100 Subject: [PATCH] Remove -libpath, closes #51 Was a leftover from macdeployqt and never worked for linuxdeployqt --- linuxdeployqt/main.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/linuxdeployqt/main.cpp b/linuxdeployqt/main.cpp index de11012..f02b013 100644 --- a/linuxdeployqt/main.cpp +++ b/linuxdeployqt/main.cpp @@ -55,7 +55,6 @@ int main(int argc, char **argv) qDebug() << " -executable= : Let the given executable use the deployed libraries too"; qDebug() << " -qmldir= : Scan for QML imports in the given path"; qDebug() << " -always-overwrite : Copy files even if the target file exists"; - qDebug() << " -libpath= : Add the given path to the library search path"; qDebug() << ""; qDebug() << "linuxdeployqt takes an application as input and makes it"; qDebug() << "self-contained by copying in the Qt libraries and plugins that"; @@ -178,13 +177,6 @@ int main(int argc, char **argv) LogError() << "Missing qml directory path"; else qmlDirs << argument.mid(index+1); - } else if (argument.startsWith(QByteArray("-libpath"))) { - LogDebug() << "Argument found:" << argument; - int index = argument.indexOf('='); - if (index == -1) - LogError() << "Missing library search path"; - else - librarySearchPath << argument.mid(index+1); } else if (argument == QByteArray("-always-overwrite")) { LogDebug() << "Argument found:" << argument; alwaysOwerwriteEnabled = true;