PDA

View Full Version : Close an external GUI



thebra
12th July 2007, 22:10
Hi all,
I use a GUI designed by designer ( QT4). One of the things I do, is to open external GUIs for plotting data (like xmgr) using popen. So, I include in my QT4 codes a line like popen("xmgr","w"). My question is how to close this GUI from the code as well. I keep trying pclose, but It did not work. Thanks for any help.

jpn
12th July 2007, 22:53
How about using QProcess?