How to Launch Web Browser/ru

From Qt Wiki
< How to Launch Web Browser
Revision as of 17:20, 12 March 2015 by AutoSpider (talk | contribs) (Decode HTML entity names)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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 />

Ссылки