Skip to content

Draft: Port to KF6

Morten Volden requested to merge work/volden/kf6 into master

This work is based on Aleix's kf6 KDevelop branch

I don't know if anyone more qualified than me has been working on the same. But I thought I'd put it out here in case someone finds it useful.

So far what has been done is.

  • Port cmake code to BUILD_WITH_QT6
  • Use KF_MAJOR_VERSION, QT_MIN_VERSION, KF_MIN_VERSION variables
  • Port foreach to range-based for
  • QLatin1Char and QStringLiteral changes in a lot of places
  • Port QRegExp -> QRegularExpression
  • use Q_SLOTS instead of slots

Almost all UT's are currently passing (except a few that I'll take a look at in the near future)

Edited by Morten Volden

Merge request reports