Not load the http website by webview in qml 5.15.2
-
Hi everyone,
I am using webview in qml 5.15.2 for android. It loads https website successfully, but the http website is fault:
net::ERR_CLEARTEXT_NOT_PERMITTED
pls support me.
@HienTB it's hard to tell from the little information you've supplied, but this doesn't appear to be a Qt issue. Is this a secure site, and are you attempting to pass user ID/password information?
Try to post a bit of code (as minimal as possible to show what you're doing), and some context, such as the data you're trying to use.
-
@HienTB it's hard to tell from the little information you've supplied, but this doesn't appear to be a Qt issue. Is this a secure site, and are you attempting to pass user ID/password information?
Try to post a bit of code (as minimal as possible to show what you're doing), and some context, such as the data you're trying to use.
@mzimmers I only use qml to load the website. In backend, i only call
QtWebView::initialize()
. I tried with https web site and it is successful but when i change the url of webview to http website then it is fault.In short, i only change the url in qml to load the website.
-
@HienTB it's hard to tell from the little information you've supplied, but this doesn't appear to be a Qt issue. Is this a secure site, and are you attempting to pass user ID/password information?
Try to post a bit of code (as minimal as possible to show what you're doing), and some context, such as the data you're trying to use.