forked from qt-creator/qt-creator
Simplyfy the DebuggingHelper functions.
By only providing a qtInstallDir variant
This commit is contained in:
@@ -167,14 +167,16 @@ void CMakeRunConfiguration::setArguments(const QString &newText)
|
||||
QString CMakeRunConfiguration::dumperLibrary() const
|
||||
{
|
||||
QString qmakePath = ProjectExplorer::DebuggingHelperLibrary::findSystemQt(environment());
|
||||
QString dhl = ProjectExplorer::DebuggingHelperLibrary::debuggingHelperLibrary(qmakePath);
|
||||
QString qtInstallData = ProjectExplorer::DebuggingHelperLibrary::qtInstallDataDir(qmakePath);
|
||||
QString dhl = ProjectExplorer::DebuggingHelperLibrary::debuggingHelperLibraryByInstallData(qtInstallData);
|
||||
return dhl;
|
||||
}
|
||||
|
||||
QStringList CMakeRunConfiguration::dumperLibraryLocations() const
|
||||
{
|
||||
QString qmakePath = ProjectExplorer::DebuggingHelperLibrary::findSystemQt(environment());
|
||||
return ProjectExplorer::DebuggingHelperLibrary::debuggingHelperLibraryLocations(qmakePath);
|
||||
QString qtInstallData = ProjectExplorer::DebuggingHelperLibrary::qtInstallDataDir(qmakePath);
|
||||
return ProjectExplorer::DebuggingHelperLibrary::debuggingHelperLibraryLocationsByInstallData(qtInstallData);
|
||||
}
|
||||
|
||||
ProjectExplorer::Environment CMakeRunConfiguration::baseEnvironment() const
|
||||
|
||||
Reference in New Issue
Block a user