diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2022-10-07 18:00:36 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2022-10-14 12:30:14 +0000 |
commit | 679a726330fdf1d1f122320872f9f033d894799e (patch) | |
tree | 17b6fd7c99632d6c0827408ca4fb556800883cea /src/plugins/cppeditor/cppcodemodelinspectordumper.h | |
parent | 183dfb48a71c6bf606cd401aa06c4ccd66e9ef36 (diff) |
C++ support: Consider project-specific target triple
... before creating project parts.
Otherwise we can get wrong includes and defines from the compiler.
Amends 9c86e6746fb82d6244cc2fc565d5f730c67f8106.
Also do not add -m32 or -m64 for non-x86 targets.
Task-number: QTCREATORBUG-25615
Change-Id: I02da9251c77d45fc8827990a2d59c3ae2c262591
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/cppeditor/cppcodemodelinspectordumper.h')
-rw-r--r-- | src/plugins/cppeditor/cppcodemodelinspectordumper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cppeditor/cppcodemodelinspectordumper.h b/src/plugins/cppeditor/cppcodemodelinspectordumper.h index 9474988af0..872c868fee 100644 --- a/src/plugins/cppeditor/cppcodemodelinspectordumper.h +++ b/src/plugins/cppeditor/cppcodemodelinspectordumper.h @@ -32,7 +32,7 @@ struct Utils static QString toString(const QVector<ProjectFile> &projectFiles); static QString toString(ProjectFile::Kind kind); static QString toString(CPlusPlus::Kind kind); - static QString toString(ProjectPart::ToolChainWordWidth width); + static QString toString(const ProjectExplorer::Abi &abi); static QString partsForFile(const QString &fileName); static QString unresolvedFileNameWithDelimiters(const CPlusPlus::Document::Include &include); static QString pathListToString(const QStringList &pathList); |