forked from qt-creator/qt-creator
BaseQtVersion: Remove getters for configValues and qtConfigValues
They are unused. Change-Id: I4350fe33af24e418eb318518f7ca66301d9a7519 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -175,9 +175,6 @@ public:
|
||||
bool m_qmakeIsExecutable = true;
|
||||
bool m_hasQtAbis = false;
|
||||
|
||||
QStringList m_configValues;
|
||||
QStringList m_qtConfigValues;
|
||||
|
||||
QString m_unexpandedDisplayName;
|
||||
QString m_autodetectionSource;
|
||||
QSet<Core::Id> m_overrideFeatures;
|
||||
@@ -1078,11 +1075,10 @@ void BaseQtVersion::ensureMkSpecParsed() const
|
||||
|
||||
void BaseQtVersion::parseMkSpec(ProFileEvaluator *evaluator) const
|
||||
{
|
||||
d->m_configValues = evaluator->values("CONFIG");
|
||||
d->m_qtConfigValues = evaluator->values("QT_CONFIG");
|
||||
const QStringList configValues = evaluator->values("CONFIG");
|
||||
d->m_defaultConfigIsDebugAndRelease = false;
|
||||
d->m_frameworkBuild = false;
|
||||
for (const QString &value : qAsConst(d->m_configValues)) {
|
||||
for (const QString &value : configValues) {
|
||||
if (value == "debug")
|
||||
d->m_defaultConfigIsDebug = true;
|
||||
else if (value == "release")
|
||||
@@ -1332,18 +1328,6 @@ QStringList BaseQtVersion::qtSoPaths() const
|
||||
return Utils::toList(paths);
|
||||
}
|
||||
|
||||
QStringList BaseQtVersion::configValues() const
|
||||
{
|
||||
ensureMkSpecParsed();
|
||||
return d->m_configValues;
|
||||
}
|
||||
|
||||
QStringList BaseQtVersion::qtConfigValues() const
|
||||
{
|
||||
ensureMkSpecParsed();
|
||||
return d->m_qtConfigValues;
|
||||
}
|
||||
|
||||
MacroExpander *BaseQtVersion::macroExpander() const
|
||||
{
|
||||
return d->m_expander.macroExpander(this);
|
||||
|
@@ -226,9 +226,6 @@ public:
|
||||
bool hasDebugBuild() const;
|
||||
bool hasReleaseBuild() const;
|
||||
|
||||
QStringList configValues() const;
|
||||
QStringList qtConfigValues() const;
|
||||
|
||||
Utils::MacroExpander *macroExpander() const; // owned by the Qt version
|
||||
static std::unique_ptr<Utils::MacroExpander>
|
||||
createMacroExpander(const std::function<const BaseQtVersion *()> &qtVersion);
|
||||
|
Reference in New Issue
Block a user