PDA

View Full Version : associating file with executable



avanindra
1st September 2012, 07:08
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

tbscope
1st September 2012, 07:27
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.