Helper functions for the Qt WebEngine Core module. 更多...
头: | #include <qtwebenginecoreglobal.h> |
(since 6.3)
const char *
|
qWebEngineChromiumSecurityPatchVersion () |
(从 6.2 起)
const char *
|
qWebEngineChromiumVersion () |
(从 6.6 起)
QString
|
qWebEngineGetDomainAndRegistry (const QUrl & url ) |
(从 6.2 起)
const char *
|
qWebEngineVersion () |
[noexcept, since 6.3]
const
char
*
qWebEngineChromiumSecurityPatchVersion
()
Returns the version number of last Chromium version security patches have been merged from.
该函数在 Qt 6.3 引入。
[noexcept, since 6.2]
const
char
*
qWebEngineChromiumVersion
()
Returns the version number of Chromium used by Qt WebEngine at run-time as a string (for example, "83.0.4103.122").
该函数在 Qt 6.2 引入。
[since 6.6]
QString
qWebEngineGetDomainAndRegistry
(const
QUrl
&
url
)
Returns the domain of the host, that is, the effective top-level domain (eTLD) and the first domain below it, from url .
This function supports internationalized domain names (IDN). In this case, it returns the domain encoded in Punycode.
If the host is not a domain, returns an empty string.
该函数在 Qt 6.6 引入。
[noexcept, since 6.2]
const
char
*
qWebEngineVersion
()
Returns the version number of Qt WebEngine at run-time as a string (for example, "6.2.0"). This may be a different version than the version the application was compiled against, and a different version than Qt.
该函数在 Qt 6.2 引入。