PDA

View Full Version : closing the backhand from qt



raghvendramisra
19th February 2007, 11:48
hi,
i have an application in which i am calling back hand(RT Linu) from QT, opening a fifo in backhand, passing the data from qt into fifo , & reading it from backhand.

i have a stop button in which i am using the close function to close the form.

but the problem is that on pressing stop button front hand gets closed but bach hand still remains there

how to solve this problem.???????

is the close() is right way to close the application

regards

raghvendra

wysota
19th February 2007, 13:27
How do you run the backend? Using QProcess? If so, then you can use tryTerminate() or kill() to close it. Or you can implement some command in the backend if you communicate with it and make it close itself.