forked from qt-creator/qt-creator
Unify projectexplorer language IDs
We don't need two IDs for C++ and the QmlJS ID should look the same as as the others. Change-Id: Ib9747f6b36a90bb652951d85eec69666615670c4 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -541,7 +541,8 @@ bool QMakeStep::fromMap(const QVariantMap &map)
|
||||
// change the qml_debug CONFIG flag based no the qmake build configuration.
|
||||
if (map.value(QLatin1String(QMAKE_QMLDEBUGLIBAUTO_KEY), false).toBool()) {
|
||||
m_linkQmlDebuggingLibrary =
|
||||
project()->projectLanguages().contains(ProjectExplorer::Constants::LANG_QMLJS) &&
|
||||
project()->projectLanguages().contains(
|
||||
ProjectExplorer::Constants::QMLJS_LANGUAGE_ID) &&
|
||||
(qmakeBuildConfiguration()->qmakeBuildConfiguration() & BaseQtVersion::DebugBuild);
|
||||
} else {
|
||||
m_linkQmlDebuggingLibrary = map.value(QLatin1String(QMAKE_QMLDEBUGLIB_KEY), false).toBool();
|
||||
|
||||
Reference in New Issue
Block a user