How to Launch Web Browser
Jump to navigation
Jump to search
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>
QDesktopServices::openUrl(QUrl("https://qt.io/"));