Hi...
I have found the exact problem in your code.
Qt ( C++) allows / accepts subclasses of QEvent, Also sub-subclasses / throughout the inheritance hierarchy
It seems "HoverEnter" & "HoverLeave" is defined or used somewhere else. If you try different name or
class HoverEnterEvent : public AWBObject::Event {
public:
HoverEnterEvent () : Event(AWBObject::HoverEnter) {};
};
class HoverEnterEvent : public AWBObject::Event {
public:
HoverEnterEvent () : Event(AWBObject::HoverEnter) {};
};
To copy to clipboard, switch view to plain text mode
it should work for you as is.(Note: AWBObject::HoverEnter)
Please give a try and let us know. It worked for me.
Bookmarks