forked from qt-creator/qt-creator
Fix Qt 5.15 deprecation warnings for QString::SkipEmptyParts
Task-number: QTCREATORBUG-24098 Change-Id: I03ee6811df4346754bbd652f2c3c97477f9cdb7e Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
#include <utils/cpplanguage_details.h>
|
||||
#include <utils/fileutils.h>
|
||||
#include <utils/qtcassert.h>
|
||||
#include <utils/stringutils.h>
|
||||
|
||||
#include <QDir>
|
||||
#include <QRegularExpression>
|
||||
@@ -742,7 +743,7 @@ void CompilerOptionsBuilder::evaluateCompilerFlags()
|
||||
{
|
||||
static QStringList userBlackList = QString::fromLocal8Bit(
|
||||
qgetenv("QTC_CLANG_CMD_OPTIONS_BLACKLIST"))
|
||||
.split(';', QString::SkipEmptyParts);
|
||||
.split(';', Utils::SkipEmptyParts);
|
||||
|
||||
const Core::Id &toolChain = m_projectPart.toolchainType;
|
||||
bool containsDriverMode = false;
|
||||
|
||||
Reference in New Issue
Block a user