forked from qt-creator/qt-creator
Valgrind: Fix Qbs build
Change-Id: I67e0b3baa68589eec58d407e6886f51866cfa275 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -89,6 +89,10 @@ static QString fakeValgrindExecutable()
|
||||
if (fi.exists())
|
||||
return fi.canonicalFilePath();
|
||||
fi = QFileInfo(QString(valgrindFakePath + "/release"), "valgrind-fake.exe");
|
||||
if (fi.exists())
|
||||
return fi.canonicalFilePath();
|
||||
// Qbs uses the install-root/bin
|
||||
fi = QFileInfo(valgrindFakePath, "valgrind-fake.exe");
|
||||
if (fi.exists())
|
||||
return fi.canonicalFilePath();
|
||||
qFatal("Neither debug nor release build valgrind-fake found.");
|
||||
|
||||
Reference in New Issue
Block a user