Detect internet browser on system
-
For opening in default system browser you can use
@bool QDesktopServices::openUrl ( const QUrl & url ) [static]@
But AFAIK you cannot detect all browsers (btw it is near to impossible using non only Qt, but system API too, because not all browsers can be registered in registry (Windows case)/package management system (package-based Linux case)). -
If you know path, where browser is located and you know what this browser is (to pass correct command line parameters to it) than you can you QProcess to run browser with parameters to open URL in it.