How to Launch Web Browser

From Qt Wiki
Jump to: navigation, search

En Ar Bg De El Es Fa Fi Fr Hi Hu It Ja Kn Ko Ms Nl Pl Pt Ru Sq Th Tr Uk Zh

The class QDesktopServices provides methods for accessing common desktop services such as opening a URL in the default web browser.

Please do not forget to include the following header files:

#include <QDesktopServices>
#include <QUrl>