<qtwebenginecoreglobal.h> - Global Qt WebEngine Core Declarations

Qt WebEngine Core モジュールのヘルパー関数。詳細...

Header: #include <qtwebenginecoreglobal.h>

関数

(since 6.3) const char *qWebEngineChromiumSecurityPatchVersion()
(since 6.2) const char *qWebEngineChromiumVersion()
(since 6.6) QString qWebEngineGetDomainAndRegistry(const QUrl &url)
(since 6.2) const char *qWebEngineVersion()

詳細説明

関数の説明

[noexcept, since 6.3] const char *qWebEngineChromiumSecurityPatchVersion()

セキュリティパッチがマージされた最後の Chromium バージョンのバージョン番号を返します。

この関数は Qt 6.3 で導入されました。

[noexcept, since 6.2] const char *qWebEngineChromiumVersion()

実行時にQt WebEngine で使用される Chromium のバージョン番号を文字列で返します(例:"83.0.4103.122")。

この関数は Qt 6.2 で導入されました。

[since 6.6] QString qWebEngineGetDomainAndRegistry(const QUrl &url)

ホストのドメイン、つまり実効トップレベルドメイン(eTLD)とその下の最初のドメインをurl から返します。

この関数は国際化ドメイン名(IDN)をサポートする。この場合、Punycodeでエンコードされたドメインを返す。

ホストがドメインでない場合は、空の文字列を返します。

この関数はQt 6.6で導入されました。

[noexcept, since 6.2] const char *qWebEngineVersion()

実行時のQt WebEngine のバージョン番号を文字列で返します(例えば "6.2.0")。これは、アプリケーションがコンパイルされたバージョンやQtとは異なるバージョンかもしれません。

この関数は Qt 6.2 で導入されました。

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.