forked from qt-creator/qt-creator
Simplyfy the DebuggingHelper functions.
By only providing a qtInstallDir variant
This commit is contained in:
@@ -57,11 +57,6 @@ QString DebuggingHelperLibrary::findSystemQt(const Environment &env)
|
||||
return QString::null;
|
||||
}
|
||||
|
||||
bool DebuggingHelperLibrary::hasDebuggingHelperLibrary(const QString &qmakePath)
|
||||
{
|
||||
return !debuggingHelperLibrary(qmakePath).isNull();
|
||||
}
|
||||
|
||||
QStringList DebuggingHelperLibrary::debuggingHelperLibraryDirectories(const QString &qtInstallData)
|
||||
{
|
||||
const QChar slash = QLatin1Char('/');
|
||||
@@ -74,16 +69,6 @@ QStringList DebuggingHelperLibrary::debuggingHelperLibraryDirectories(const QStr
|
||||
return directories;
|
||||
}
|
||||
|
||||
QStringList DebuggingHelperLibrary::debuggingHelperLibraryLocations(const QString &qmakePath)
|
||||
{
|
||||
return debuggingHelperLibraryLocationsByInstallData(qtInstallDataDir(qmakePath));
|
||||
}
|
||||
|
||||
QString DebuggingHelperLibrary::debuggingHelperLibrary(const QString &qmakePath)
|
||||
{
|
||||
return debuggingHelperLibraryByInstallData(qtInstallDataDir(qmakePath));
|
||||
}
|
||||
|
||||
QString DebuggingHelperLibrary::qtInstallDataDir(const QString &qmakePath)
|
||||
{
|
||||
QProcess proc;
|
||||
|
Reference in New Issue
Block a user