How to Launch Web Browser/ru

From Qt Wiki
< How to Launch Web Browser
Revision as of 11:23, 10 January 2016 by Art-gur (talk | contribs) (Fixed maket)
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.

En Ar Bg De El Es Fa Fi Fr Hi Hu It Ja Kn Ko Ms Nl Pl Pt Ru Sq Th Tr Uk Zh

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

Класс QDesktopServices предоставляет методы для доступа к общим службам ОС, такие как открытие URL в браузере использующемся по умолчанию.

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

#include <QDesktopServices>
#include <QUrl>

QDesktopServices::openUrl(QUrl("http://developer.qt.nokia.com"));