QWebEngineQuotaRequest Class

头文件: #include <QWebEngineQuotaRequest>
CMake: find_package(Qt6 REQUIRED COMPONENTS WebEngineCore)
target_link_libraries(mytarget PRIVATE Qt6::WebEngineCore)
qmake: QT += webenginecore
在 QML 中: QuotaRequest
状态:自 6.5 起被弃用

该类自 6.5 起已被弃用。我们强烈建议不要在新代码中使用它。

属性

公共功能

QUrl origin() const
qint64 requestedSize() const

详细说明

Chromium 不再支持请求主机配额。

navigator.webkitPersistentStorage 的行为与 navigator.webkitTemporaryStorage 相同。

有关详细信息,请参阅 https://crbug.com/1233525。

属性文档

[read-only] origin : const QUrl

访问功能:

QUrl origin() const

[read-only] requestedSize : const qint64

访问功能:

qint64 requestedSize() const

© 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.