yeah, i know, i've tried use the event loop with exec() and calling quit() or exit() when push the button, but didn't work.
I've tried terminate() too, but it's very unstable, sometimes crash the program.
I am doing anything wrong friend?
thanks