forked from qt-creator/qt-creator
Debugger: Fix compilation with Qt 6
Amends 7ccd9d6943
Change-Id: I8567a1238b9cc770c2a5ec551a06ef64a1164a0a
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
@@ -2824,7 +2824,8 @@ void CppDebuggerEngine::validateRunParameters(DebuggerRunParameters &rp)
|
||||
if (it.key().startsWith('(')) {
|
||||
const QString expanded = Utils::globalMacroExpander()->expand(it.value());
|
||||
if (!expanded.isEmpty())
|
||||
globalRegExpSourceMap.push_back(qMakePair(it.key(), expanded));
|
||||
globalRegExpSourceMap.push_back(
|
||||
qMakePair(QRegularExpression(it.key()), expanded));
|
||||
}
|
||||
}
|
||||
if (globalRegExpSourceMap.isEmpty())
|
||||
|
Reference in New Issue
Block a user