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.
This commit is contained in:
Thorbjørn Lindeijer
2017-07-10 21:39:03 +02:00
parent fa515fdf5f
commit ddb3e4e41c
+1
View File
@@ -301,6 +301,7 @@ LddInfo findDependencyInfo(const QString &binaryPath)
// LogDebug() << "ldd outputLine:" << outputLine;
if ((outputLine.contains("not found")) && (qtDetectionComplete == 1)){
LogError() << "ldd outputLine:" << outputLine.replace("\t", "");
LogError() << "for binary:" << binaryPath;
LogError() << "Please ensure that all libraries can be found by ldd. Aborting.";
exit(1);
}