Results 1 to 2 of 2

Thread: associating file with executable

  1. #1
    Join Date
    Dec 2010
    Posts
    14
    Thanks
    1

    Default associating file with executable

    Hi everyone,

    I am not sure if this forum is right place to ask this question. Here is my problem:

    I have created a software application in c++ for which I have written GUI in qt. The application loads a project file for further actions. What I want is to associate my application with project file so that when I double click the project file it gets automatically loaded in the application , just like you click on an html file and it opens in any browser application. What should be my steps to do this.

    Any help or suggestion would really be appreciated.

    many thanks and regards

    Avanindra Singh

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: associating file with executable

    You look in the documentation of the operating system you use and find how you assign a file type with a default program.
    In other words: this is something specific for the operating system.

Similar Threads

  1. Replies: 5
    Last Post: 31st August 2011, 00:21
  2. Replies: 5
    Last Post: 15th June 2010, 08:42
  3. Replies: 5
    Last Post: 5th August 2009, 18:32
  4. Associating icon with a file type
    By munna in forum Qt Programming
    Replies: 3
    Last Post: 6th June 2006, 17:57
  5. Associating file extensions
    By fullmetalcoder in forum General Programming
    Replies: 9
    Last Post: 10th May 2006, 14:12

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.