Results 1 to 1 of 1

Thread: [Solved] Open files outside my program

  1. #1
    Join Date
    Jan 2008
    Posts
    3

    Default [Solved] Open files outside my program

    Hi all, I'd like to open a file from my Qt application, like we do when we click on a text file icon using explorer for instance. I tried with QProcess but I find it very heavy to manage (find which program should be launched according to the extension of the file, then launch the program giving it the file name as a parameter).

    I'm sure there're better ways to do that (and much more classical).

    I hope somebody could help me, thanks.

    Edit: in fact I have to use QDesktopServices:penUrl ( const QUrl & url )
    Last edited by Nykoo; 27th January 2008 at 16:21.

Similar Threads

  1. i want to open programs from my program!
    By coder1985 in forum Qt Programming
    Replies: 3
    Last Post: 4th January 2008, 09:45
  2. Replies: 5
    Last Post: 29th October 2007, 22:49
  3. How to open IGES files in Qt Application?
    By Shuchi Agrawal in forum Newbie
    Replies: 1
    Last Post: 21st February 2007, 01:06
  4. QT MySQL
    By sabeeshcs in forum Newbie
    Replies: 6
    Last Post: 12th January 2007, 04:19
  5. Open source program
    By Michiel in forum General Discussion
    Replies: 2
    Last Post: 28th March 2006, 14:14

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.