[Qt-interest] Finding default programme for file type
Andre Somers
andre at familiesomers.nl
Fri Aug 6 10:26:24 CEST 2010
Op Vr, 6 augustus, 2010 10:17 am, schreef yogesh upreti:
> Hi Jaco,
> Thanks for reply. But I think then if there is no programme defined, it
> will
> out a "choose programme to open this file" dialog.
> But what I really wat to do is, Open the file with defined programme and
> if
> there is no programme defined then open it with Notepad++
>
> Thanks
> Yogesh Upreti
>
Since Notepad++ is an editor, you are talking about a text file, right?
There is always a text editor installed on windows (notepad.exe and
wordpad.exe), so openUrl() should always open the file in an editor.
André
More information about the Qt-interest-old
mailing list