PDA

View Full Version : How can I associate an extension to a Qt application



cesroc
28th March 2014, 22:16
Hello,

I wrote an application and I have my own extension, for example, *.kla. I would like to associate (in Windows) the extension .kla to my application, and when the user double click the file, my application opens the file.

I have two problems:

1) What should I do in windows to associate an extension to a software? (I know it's a Qt forum, but if someone can help me with this question would be great and my second doubt is related to Qt)

2) What should I add or change in my Qt application that when the user double click the file my application understands it's a file to be opened?

Thanks in advance.
Regards