Hi ,

Will this help ?

Qt Code:
  1. HoverEnterEvent toSend;
  2. toSend.object = this;
  3. QCoreApplication::sendEvent((QObject*)scene(),&toSend);
To copy to clipboard, switch view to plain text mode 

If you call postEvent(), you must create the event object using new and Qt will automatically delete it after it is processed. If you call sendEvent(), you must create the event on the stack.