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

This was done in https://github.com/fluxer/katie/commit/bc9930689c388214d21f7db7a28f310e0599f526, read the upstream commit message too.

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

class MyFrameStyle: public QStyleOptionFrameV2
{
...
}

Should be changed to:

class MyFrameStyle: public QStyleOptionFrame
{
...
}

Or even better, with Qt4 compatibility:

#ifndef QT_KATIE
class MyFrameStyle: public QStyleOptionFrameV2
#else
class MyFrameStyle: public QStyleOptionFrame
#endif
{
...
}