forked from qt-creator/qt-creator
ProjectExplorer: Use Utils::FileName for Runnable::executable
Change-Id: I584bc18aa19a4c9886af7b13e95052dfd4350b34 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -150,11 +150,11 @@ public:
|
||||
QStringList arguments;
|
||||
arguments << "record";
|
||||
arguments += m_perfRecordArguments;
|
||||
arguments << "-o" << "-" << "--" << perfRunnable.executable
|
||||
arguments << "-o" << "-" << "--" << perfRunnable.executable.toString()
|
||||
<< Utils::QtcProcess::splitArgs(perfRunnable.commandLineArguments,
|
||||
Utils::OsTypeLinux);
|
||||
|
||||
perfRunnable.executable = "perf";
|
||||
perfRunnable.executable = FilePath::fromString("perf");
|
||||
perfRunnable.commandLineArguments = Utils::QtcProcess::joinArgs(arguments,
|
||||
Utils::OsTypeLinux);
|
||||
m_process->start(perfRunnable);
|
||||
|
||||
Reference in New Issue
Block a user