[Qt-interest] find Application handler automatically ?

Andre Somers andre at familiesomers.nl
Sun Oct 3 12:10:51 CEST 2010


  Op 3-10-2010 11:55, Aaron Lewis schreef:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>      I'm wondering is there anyway to launch a specified application
> that was registered with a targeted file type ?
>
>      Like on KDE , dolphin ( mime type folder ) was registered for the
> default file manager ? And i simply call a function , pass in target
> folder ( for example ) , and dolphin will be automatically launched. (
> and on Windows , explorer starts instead)
>
>      Do qt provide similar functions ?
>
>      Many thanks !
Sure there is: QDesktopServices is what you're looking for.

André





More information about the Qt-interest-old mailing list