Get default programs

I am using C ++ and qt for a project. I would like to know how I can get the default program: default navigator, default email client, default editor ...

I found for Linux - Gnome: gconftool!

What is Windows, Mac Os or Linux (KDE)?

Thank.

+3
source share
3 answers

On Windows, this type of material can be restored directly from the registry (regedit).

Search the Internet to find out specific registry paths such as this .

0
source

If you look at the documentation for QDesktopServices :: openUrl () , you will see that:

URL- mailto, , , URL-, , mailto -.

, QDesktopServices:: openUrl(), , .

, , , .

+2

Source: https://habr.com/ru/post/1756373/


All Articles