How to Launch Web Browser
Jump to navigation
Jump to search
English | Deutsch | Български | Русский | 简体中文
How to Launch Web Browser
The class "QDesktopServices":http://doc.qt.io/qt-5.0/qtgui/qdesktopservices.html 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:
<br />#include <QDesktopServices&gt;<br />#include <QUrl&gt;<br />
<br />QDesktopServices::openUrl(QUrl("https://qt.io/&quot;));<br />