How to Launch Web Browser/ru: Difference between revisions
Jump to navigation
Jump to search
AutoSpider (talk | contribs) (Decode HTML entity names) |
AutoSpider (talk | contribs) m (AutoSpider moved page How to Launch Web Browser Russian to How to Launch Web Browser/ru: Localisation) |
(No difference)
|
Revision as of 16:00, 16 March 2015
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. |
Как запустить 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 />