diff options
author | Eike Ziller <eike.ziller@qt.io> | 2024-02-27 16:08:45 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2024-02-28 08:09:05 +0000 |
commit | 5af531cd39067366cea627e3db1a0b83d7172873 (patch) | |
tree | 0759f3fe9a1924ebdc312d506162b90e21a90ca9 /src/libs/qmljs/qmljsplugindumper.cpp | |
parent | a8414effd8ff6cd9c32c8466950ac3b9b9561524 (diff) |
Utils: Fix build with MSVC with C++20
Rename process.h back to qtcprocess.h
MSVC's "threads" standard header includes <process.h>, and that ends up
including our process.h from Utils.
There already was a hacky workaround in place for a similar issue with
MINGW, but that doesn't work with MSVC because that doesn't have
Simply use a name that doesn't conflict.
Change-Id: I1159cd2096b4f2dbc4a1728d0131dd6edd30ebd3
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/libs/qmljs/qmljsplugindumper.cpp')
-rw-r--r-- | src/libs/qmljs/qmljsplugindumper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/qmljs/qmljsplugindumper.cpp b/src/libs/qmljs/qmljsplugindumper.cpp index 36f2cd802d..653fa8a701 100644 --- a/src/libs/qmljs/qmljsplugindumper.cpp +++ b/src/libs/qmljs/qmljsplugindumper.cpp @@ -13,7 +13,7 @@ #include <utils/filesystemwatcher.h> #include <utils/fileutils.h> #include <utils/hostosinfo.h> -#include <utils/process.h> +#include <utils/qtcprocess.h> #include <QDir> #include <QDirIterator> |