Regarding passing the parameter
void myClass
::start_heavyProcess(QString path
) {
//....
QMetaObject::invokeMethod( this,
"heavyProcess", Qt
::QueuedConnection, Q_ARG
( QString, path
) );
}
void myClass::start_heavyProcess(QString path)
{
//....
QMetaObject::invokeMethod( this, "heavyProcess", Qt::QueuedConnection, Q_ARG( QString, path ) );
}
To copy to clipboard, switch view to plain text mode
No idea why your cursor doesn't change though 
Does it change if you do not execute the heavyProcess method?
Cheers,
_
Bookmarks