Results 1 to 2 of 2

Thread: Close an external GUI

  1. #1
    Join Date
    Nov 2006
    Posts
    14
    Thanks
    1

    Default Close an external GUI

    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.

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Close an external GUI

    How about using QProcess?
    J-P Nurmi

Similar Threads

  1. Replies: 16
    Last Post: 23rd May 2008, 10:12
  2. Replies: 3
    Last Post: 16th November 2006, 12:24
  3. link error for visual studio.net 2003
    By berlin in forum Newbie
    Replies: 9
    Last Post: 29th September 2006, 16:06
  4. Link Errors
    By magikalpnoi in forum Qt Programming
    Replies: 5
    Last Post: 25th September 2006, 22:04
  5. Qmenu Stable close on QTableWidget
    By patrik08 in forum Qt Programming
    Replies: 1
    Last Post: 17th July 2006, 10:03

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.