QT 6.3.0- QTWebengine对象是否可以在离线模式下管理显示?
我正在开发一个显示WebEngineView
的QT应用程序。
缓存工作正常。
我想通过整合离线模式进一步走: 如果没有网络,该应用程序必须根据其缓存显示网页(例如Chrome之类的浏览器的标准过程)。 目前,尽管设置了qwebengineProfile
,qquickwebengineProfile
和qwebenginesettings
对象,页面显示:
预先感谢您的回答。
QT版本:6.3.0
I am developing a Qt application displaying a WebEngineView
.
The cache is working properly.
I would like to go further by integrating an offline mode:
without a network, the application must display the web page based on its cache (like the standard process of a browser like Chrome).
For now, despite setting the QWebEngineProfile
, QQuickWebEngineProfile
and QWebEngineSettings
objects, the page displays: "No internet ... ERR_INTERNET_DISCONNECTED"
Does anyone know or have implemented this feature before?
Thank you in advance for your answers.
Qt version: 6.3.0
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为如果不设置代理或覆盖http/https,您无法做到这一点
I don't think you can do that without setting up a proxy or overriding HTTP/HTTPS