I have done this as below:

just using QCoreApplication::notify(), thanks caduel!