[Qt-interest] Finding default programme for file type

Dan Milburn danmilburn at clara.co.uk
Fri Aug 6 10:18:52 CEST 2010


yogesh upreti wrote:
> Hallo All,
> Does someone know how can I find default programme for a file type in 
> Windows?
> For example I have some text file for which I allow user to edit, but 
> every user have there owe programme to edit those file.
> Where can I found this setting out in Windows? (In unix I am forcing 
> everyone to use nedit (Nirvana Editor)).

I would suggest using QDesktopServices::openUrl().

Dan



More information about the Qt-interest-old mailing list