Finally i fixed my code.
Now i have a working application with its own window with widgets.
a. one groupbox that holds the engine window.
b. one button that starts the engine.
c. one button that stops the engine.
At last but not least, when the window X button senses a click,
the application closes the engine and the application itself.
No more task remains in the tasklist.
Thanks all the helps to everybody.

If anybody is interested in how to use Qt combined with Gamestudio, i can describe here my solution.

Last edited by Aku_Aku; 09/12/16 21:02.