From ararunprasad at gmail.com Mon Apr 20 12:37:07 2015 From: ararunprasad at gmail.com (Arunprasad Rajkumar) Date: Mon, 20 Apr 2015 16:07:07 +0530 Subject: [Qtwebengine] How to get the network error code details? Message-ID: Hello Qt WebEngine team, I'm trying to get the actual reason for the network error by subscribing to a signal QQuickWebEngineView::loadingChanged[1]. But it looks like QQuickWebEngineLoadRequest::errorCode() doesn't mapped to enumeration to get the detailed description. From the source I found it need to be decoded using Chromium's net/base/net_error_list.h module error code[3]. So my question is, What is the proper method to decode the value of QQuickWebEngineLoadRequest::errorCode()? Thanks in advance. [1] https://github.com/qtproject/qtwebengine/blob/dev/src/webengine/api/qquickwebengineview_p.h#L220 [2] https://github.com/qtproject/qtwebengine/blob/dev/src/webengine/api/qquickwebengineloadrequest_p.h#L62 [3] https://chromium.googlesource.com/chromium/src/+/master/net/base/net_error_list.h Thanks & Regards, Arun -------------- next part -------------- An HTML attachment was scrubbed... URL: