I was curious what is the scope of an object, if I do that.
Qt Code:
void myMethod() { Object o; emit MySignal(o);To copy to clipboard, switch view to plain text mode
If I transfer the object to another thread, what happens to the object scope? o is allocated on stack.
Bookmarks