Results 1 to 3 of 3

Thread: open an application

  1. #1
    Join Date
    Jan 2009
    Posts
    54
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Windows

    Default open an application

    Hello.

    How can i open a program from my qt code? I want to open a .mdb file with the Acces Application.

    I was opening the file with QFile open() but this is not opening the Access Application.

    Thank you in advance.

  2. #2
    Join Date
    Jul 2008
    Location
    Germany
    Posts
    507
    Thanks
    11
    Thanked 76 Times in 74 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: open an application

    Hi, have a look at QProcess.

    Ginsengelf

  3. #3
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    517
    Thanks
    21
    Thanked 66 Times in 62 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: open an application

    perhaps this will also work:

    Qt Code:
    1. desk.openUrl(QUrl("file://path_to_mdb_file"));
    To copy to clipboard, switch view to plain text mode 

Similar Threads

  1. Replies: 7
    Last Post: 24th November 2008, 11:22
  2. How open my application in other PCs without Qt?
    By Colx007 in forum Installation and Deployment
    Replies: 1
    Last Post: 2nd June 2008, 15:34
  3. Related to Packaging of Qt4 Application
    By archanasubodh in forum Installation and Deployment
    Replies: 1
    Last Post: 21st March 2008, 14:55
  4. How to open IGES files in Qt Application?
    By Shuchi Agrawal in forum Newbie
    Replies: 1
    Last Post: 21st February 2007, 01:06
  5. How to open a document with the default application?
    By SkripT in forum Qt Programming
    Replies: 7
    Last Post: 30th April 2006, 08:47

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.