Skip to content

Fix Qt6 build issue about using QVector without template arg

Alexander Lohnau requested to merge work/alex/qt6 into master
.../ktexteditor/src/script/katescriptmanager.cpp:292:19: error: alias template 'QVector' requires template arguments; argument deduction only allowed for class templates
    const QVector args = QStringView(_cmd).split(QRegularExpression(QStringLiteral("\\s+")), Qt::SkipEmptyParts);
                  ^
.../usr/include/QtCore/qcontainerfwd.h:63:22: note: template is declared here
template<typename T> using QVector = QList<T>;

Merge request reports