material-decoration/src/plugin.cc:30:37: error: ‘void KPluginFactory::registerPlugin(const QString&) [with T = Material::Button; typename std::enable_if<KPluginFactory::InheritanceChecker<impl>::enabled, int>::type <anonymous> = 0]’ is deprecated: Since 5.89. Use overload without keyword instead [-Werror=deprecated-declarations]
30 | registerPlugin<Material::Button>(QStringLiteral("button"));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/KF5/KCoreAddons/KPluginFactory:1,
from /home/chris/Code/kdecommunity/material-decoration/src/plugin.cc:24:
/usr/include/KF5/KCoreAddons/kpluginfactory.h:741:10: note: declared here
741 | void registerPlugin(const QString &keyword)
| ^~~~~~~~~~~~~~
In file included from /usr/include/KF5/KCoreAddons/KPluginFactory:1,
from /home/chris/Code/kdecommunity/material-decoration/src/plugin.cc:24:
material-decoration/src/plugin.cc:31:50: error: ‘void KPluginFactory::registerPlugin(const QString&) [with T = Material::ConfigurationModule; typename std::enable_if<KPluginFactory::InheritanceChecker<impl>::enabled, int>::type <anonymous> = 0]’ is deprecated: Since 5.89. Use overload without keyword instead [-Werror=deprecated-declarations]
31 | registerPlugin<Material::ConfigurationModule>(QStringLiteral("kcmodule"));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/KF5/KCoreAddons/KPluginFactory:1,
from /home/chris/Code/kdecommunity/material-decoration/src/plugin.cc:24:
/usr/include/KF5/KCoreAddons/kpluginfactory.h:741:10: note: declared here
741 | void registerPlugin(const QString &keyword)
| ^~~~~~~~~~~~~~