forked from qt-creator/qt-creator
More QRegularExpression and include for Qt 6
Task-number: QTCREATORBUG-24098 Change-Id: Ia537e26efd3f37319c38d906e569b255768371f9 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
|
||||
#include <QFileInfo>
|
||||
#include <QMessageBox>
|
||||
#include <QRegExp>
|
||||
#include <QRegularExpression>
|
||||
#include <QStandardPaths>
|
||||
|
||||
using namespace ProjectExplorer;
|
||||
@@ -96,7 +96,7 @@ QStringList CMakeCommandBuilder::defaultArguments()
|
||||
|
||||
QString CMakeCommandBuilder::setMultiProcessArg(QString args)
|
||||
{
|
||||
QRegExp regExp("\\s*\\-j\\s+\\d+");
|
||||
QRegularExpression regExp("\\s*\\-j\\s+\\d+");
|
||||
args.remove(regExp);
|
||||
args.append(" -- -j 200");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user