Skip to content

WIP: Rempt/qt nokeywords Make Krita build with -DQT_NO_KEYWORDS defined

Halla Rempt requested to merge rempt/QT_NOKEYWORDS into master

Newer C++ standards are poaching more and more keywords from Qt, like "emit". We already used Q_FOREACH, Q_SLOTS and Q_SIGNALS. This patch makes that consistent with Q_FOREVER and Q_EMIT, as fixing old code that still used the foreach keyword.

For now, I just want to keep this branch around and see how many merge problems it's going to give. Once we drop 4.2, I want to push this change.

Formalities Checklist

  • I confirmed this builds.

Merge request reports

Loading