summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2021-05-11 14:34:56 +0200
committerEike Ziller <eike.ziller@qt.io>2021-05-11 13:27:23 +0000
commitf18ac508e8293081eb25c3c9f8b0836ef3d1aa47 (patch)
treea839a27f7af6151142cb8cc1aa876badeeda3229 /src/plugins/projectexplorer
parent0c8d8c6b2aa32021792d402a4651f9bc80a9d15e (diff)
downloadqt-creator-f18ac508e8293081eb25c3c9f8b0836ef3d1aa47.tar.gz
Move CommandLine out of fileutils.h
to ProcessArgs and rename the files to commandline.*. fileutils was a strange place for CommandLine, and this reduces the dependencies needed for sdktool. Change-Id: I9d7e8ffe8a3560f5d12934457b086f9446976883 Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer')
-rw-r--r--src/plugins/projectexplorer/abstractprocessstep.h4
-rw-r--r--src/plugins/projectexplorer/buildsystem.h4
-rw-r--r--src/plugins/projectexplorer/processparameters.h1
-rw-r--r--src/plugins/projectexplorer/target.cpp1
4 files changed, 10 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/abstractprocessstep.h b/src/plugins/projectexplorer/abstractprocessstep.h
index 9a324af31b..283b3ed730 100644
--- a/src/plugins/projectexplorer/abstractprocessstep.h
+++ b/src/plugins/projectexplorer/abstractprocessstep.h
@@ -29,6 +29,10 @@
#include <QProcess>
+namespace Utils {
+class CommandLine;
+}
+
namespace ProjectExplorer {
class ProcessParameters;
diff --git a/src/plugins/projectexplorer/buildsystem.h b/src/plugins/projectexplorer/buildsystem.h
index 8171300980..bedaa7d5ee 100644
--- a/src/plugins/projectexplorer/buildsystem.h
+++ b/src/plugins/projectexplorer/buildsystem.h
@@ -33,6 +33,10 @@
#include <QObject>
+namespace Utils {
+class CommandLine;
+}
+
namespace ProjectExplorer {
class BuildConfiguration;
diff --git a/src/plugins/projectexplorer/processparameters.h b/src/plugins/projectexplorer/processparameters.h
index 94d1bd8883..08f2cf7e27 100644
--- a/src/plugins/projectexplorer/processparameters.h
+++ b/src/plugins/projectexplorer/processparameters.h
@@ -27,6 +27,7 @@
#include "projectexplorer_export.h"
+#include <utils/commandline.h>
#include <utils/environment.h>
#include <utils/fileutils.h>
diff --git a/src/plugins/projectexplorer/target.cpp b/src/plugins/projectexplorer/target.cpp
index 8c1fb78533..d44a294442 100644
--- a/src/plugins/projectexplorer/target.cpp
+++ b/src/plugins/projectexplorer/target.cpp
@@ -50,6 +50,7 @@
#include <coreplugin/coreconstants.h>
#include <utils/algorithm.h>
+#include <utils/commandline.h>
#include <utils/macroexpander.h>
#include <utils/qtcassert.h>
#include <utils/stringutils.h>