Skip to content

QIconEngine, QIconEnginePlugin and QIconEngineFactoryInterface

Ivailo Monev edited this page Aug 22, 2019 · 1 revision

This was done in https:/fluxer/katie/commit/c7c7f41c2bb06e20442efce438daec22a19869ce, the virtual hooks are no more too which does not follow what is currently in Qt5. Do note that the com.trolltech.Qt.QIconEngineFactoryInterfaceV2 interface is no more.

While there are typedefs any class in your own projects that inherits a merged versioned class will have to inherit the non-versioned class now. For an example:

class MyIconEngine: public QIconEngineV2
{
...
}

Should be changed to:

class MyIconEngine: public QIconEngine
{
...
}

Or even better, with Qt4 compatibility:

#ifndef QT_KATIE
class MyIconEngine: public QIconEngineV2
#else
class MyIconEngine: public QIconEngine
#endif
{
...
}