forked from qt-creator/qt-creator
ProjectExplorer: Use FilePath for sysroots
... and reduce to the relevant part when passing to cmake. Task-number: QTCREATORBUG-27229 Change-Id: I7cde2ff04530caf439d6707c2c6d15a8e734ae0b Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -25,10 +25,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "compilationdatabaseconstants.h"
|
||||
|
||||
#include <cppeditor/cppprojectfile.h>
|
||||
#include <utils/fileutils.h>
|
||||
#include <utils/filepath.h>
|
||||
|
||||
#include <QHash>
|
||||
#include <QStringList>
|
||||
@@ -65,7 +63,7 @@ void filteredFlags(const QString &fileName,
|
||||
QVector<ProjectExplorer::HeaderPath> &headerPaths,
|
||||
QVector<ProjectExplorer::Macro> ¯os,
|
||||
CppEditor::ProjectFile::Kind &fileKind,
|
||||
QString &sysRoot);
|
||||
Utils::FilePath &sysRoot);
|
||||
|
||||
QStringList splitCommandLine(QString commandLine, QSet<QString> &flagsCache);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user