forked from qt-creator/qt-creator
overhaul process argument handling
get away from argument stringlists. instead, use native shell command lines which support quoting/splitting, environment variable expansion and redirections with well-understood semantics. Task-number: QTCREATORBUG-542 Task-number: QTCREATORBUG-1564
This commit is contained in:
@@ -44,6 +44,10 @@
|
||||
QT_FORWARD_DECLARE_CLASS(QProcess)
|
||||
QT_FORWARD_DECLARE_CLASS(QLabel)
|
||||
|
||||
namespace Utils {
|
||||
class QtcProcess;
|
||||
}
|
||||
|
||||
namespace CMakeProjectManager {
|
||||
namespace Internal {
|
||||
|
||||
@@ -66,8 +70,8 @@ public:
|
||||
|
||||
void setCMakeExecutable(const QString &executable);
|
||||
|
||||
void createXmlFile(QProcess *process,
|
||||
const QStringList &arguments,
|
||||
void createXmlFile(Utils::QtcProcess *process,
|
||||
const QString &arguments,
|
||||
const QString &sourceDirectory,
|
||||
const QDir &buildDirectory,
|
||||
const Utils::Environment &env,
|
||||
|
||||
Reference in New Issue
Block a user