ubuntu QWebEngineView google
-
I used QWebEngineView to load google html files, but it failed, so I turned to try to load google URLs first, but it also failed. Loading other websites that do not require proxy software such as https://www.qt.io can be successfully displayed。I have already opened the proxy software, and the browser that comes with the system can access google。
use
QNetworkProxy proxy;
proxy.setType(QNetworkProxy::HttpProxy);
proxy.setHostName(my address);
proxy.setPort(my port);
It will show inaccessibility instead of the white screen I have been experiencing without any prompt.I tried some of the suggestions I got in the search, but nothing worked and I don't know how to solve it. It seems that the problem seems to be that the settings of my agent in qt do not work, or qt cannot be accessed by opening the agent like under the windows system.
So I am confused whether it will work normally in my client's system without access restrictions, or it will still not work properly.
I am currently using version 5.14.2, I also tried version 6.7.3 in another ubuntu system,so can some one help me, thank you。