Autotest: Use more FilePath

Change-Id: I15de1121305f245274d74b4116786f6f07ffa3c2
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
hjk
2022-09-22 17:23:20 +02:00
parent 9e9c0630ee
commit 5dcfbe6c52
3 changed files with 7 additions and 5 deletions

View File

@@ -7,6 +7,8 @@
#include <extensionsystem/iplugin.h>
#include <utils/filepath.h>
namespace ProjectExplorer {
class Project;
class RunConfiguration;
@@ -20,12 +22,12 @@ struct TestSettings;
struct ChoicePair
{
explicit ChoicePair(const QString &name = QString(), const QString &exe = QString())
explicit ChoicePair(const QString &name = {}, const Utils::FilePath &exe = {})
: displayName(name), executable(exe) {}
bool matches(const ProjectExplorer::RunConfiguration *rc) const;
QString displayName;
QString executable;
Utils::FilePath executable;
};
class AutotestPlugin : public ExtensionSystem::IPlugin