Results 1 to 2 of 2

Thread: How to know program

  1. #1
    Join Date
    May 2009
    Location
    Gorontalo
    Posts
    200
    Thanks
    20
    Thanked 5 Times in 5 Posts
    Qt products
    Platforms
    Unix/X11 Windows

    Post How to know program

    How to know program for open file ? So far I use QDesktopServices:penUrl. But, it not have any signal for know the program is finished / exit like in QProcess

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: How to know program

    AFAIK there is no Qt interface that can tell you the associated application (there can be many) so the code will be platform, and possibly desktop environment, specific. You would have to find the associated program yourself and then code to run and wait for completion.

Similar Threads

  1. Replies: 1
    Last Post: 30th April 2010, 13:25
  2. running external console program by gui program
    By alireza.mixedreality in forum Qt Programming
    Replies: 4
    Last Post: 24th April 2010, 18:05
  3. a program to start another program.
    By zakis in forum Qt Programming
    Replies: 4
    Last Post: 17th December 2009, 19:25
  4. Replies: 7
    Last Post: 19th January 2008, 15:29
  5. How do I make a program out of my program?
    By Randulf in forum Newbie
    Replies: 1
    Last Post: 29th May 2007, 11:11

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.