How to Launch Web Browser/ru

From Qt Wiki
Jump to navigation Jump to search
This article may require cleanup to meet the Qt Wiki's quality standards. Reason: Auto-imported from ExpressionEngine.
Please improve this article if you can. Remove the {{cleanup}} tag and add this page to Updated pages list after it's clean.


Русский English Български

Как запустить Web Browser

Класс "QDesktopServices":http://doc.qt.io/qt-5.0/qtgui/qdesktopservices.html предоставляет методы для доступа к общим службам ОС, такие как открытие URL в браузере использующемся по умолчанию.

Пожалуйста, не забудьте подключить следующие заголовочные файлы:

<br />#include <QDesktopServices><br />#include <QUrl><br />
<br />QDesktopServices::openUrl(QUrl("http://developer.qt.nokia.com"));<br />

Ссылки