diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2022-03-02 04:12:25 +0100 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2022-03-02 13:30:39 +0000 |
commit | 8e0ae8ba96ec5ca4512e39a16135e2279e88a4fb (patch) | |
tree | 0ffc1fb82bf551353e0ff5ade46af0c6565b4fc6 /src/plugins/projectexplorer/gcctoolchain.cpp | |
parent | 6ff1723c4cb709ebffe2bb0c593371c51e6cf736 (diff) | |
download | qt-creator-8e0ae8ba96ec5ca4512e39a16135e2279e88a4fb.tar.gz |
QtcProcess: Limit the inclusion of qtcprocess.h
Move the rest of QtcProcess enums to processenums.h.
Move ExitCodeInterpreter into processenums.h.
Remove superfluous Utils:: prefix.
Change-Id: Iaa596f353d33d6930085a621b114cc15a35caa80
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/plugins/projectexplorer/gcctoolchain.cpp')
-rw-r--r-- | src/plugins/projectexplorer/gcctoolchain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/gcctoolchain.cpp b/src/plugins/projectexplorer/gcctoolchain.cpp index 6840d521d1..f7313eaad1 100644 --- a/src/plugins/projectexplorer/gcctoolchain.cpp +++ b/src/plugins/projectexplorer/gcctoolchain.cpp @@ -146,7 +146,7 @@ static QByteArray runGcc(const FilePath &gcc, const QStringList &arguments, cons cpp.setTimeoutS(10); cpp.setCommand({gcc, arguments}); cpp.runBlocking(); - if (cpp.result() != QtcProcess::FinishedWithSuccess || cpp.exitCode() != 0) { + if (cpp.result() != ProcessResult::FinishedWithSuccess || cpp.exitCode() != 0) { Core::MessageManager::writeFlashing({"Compiler feature detection failure!", cpp.exitMessage(), QString::fromUtf8(cpp.allRawOutput())}); |