Browse Source

Added path of problematic binary when dependency could not be found

Without verbose logging (which is really spammy) this information is
otherwise not available, but it can be very helpful in finding out
what's causing the problem.
master
Thorbjørn Lindeijer 7 years ago
parent
commit
ddb3e4e41c
  1. 1
      tools/linuxdeployqt/shared.cpp

1
tools/linuxdeployqt/shared.cpp

@ -301,6 +301,7 @@ LddInfo findDependencyInfo(const QString &binaryPath)
// LogDebug() << "ldd outputLine:" << outputLine; // LogDebug() << "ldd outputLine:" << outputLine;
if ((outputLine.contains("not found")) && (qtDetectionComplete == 1)){ if ((outputLine.contains("not found")) && (qtDetectionComplete == 1)){
LogError() << "ldd outputLine:" << outputLine.replace("\t", ""); LogError() << "ldd outputLine:" << outputLine.replace("\t", "");
LogError() << "for binary:" << binaryPath;
LogError() << "Please ensure that all libraries can be found by ldd. Aborting."; LogError() << "Please ensure that all libraries can be found by ldd. Aborting.";
exit(1); exit(1);
} }

Loading…
Cancel
Save