开发者

Qt's WebView not loading images at a random pace

Ok guys, this is driving me crazy.

I have a windows desktop application with 2 Qt's WebViews on it. They should load web pages served by an IIS web server, and everything is working fine except for the images loading. Sometimes they load, sometimes they don't, sometimes a few load, sometime开发者_运维知识库s none.

Javascript preloading doesn't help.

I have the AutoLoadImages WebSetting on. Also JavascriptEnabled on.

The image files are .png files.

The file permissions are ok. If I try to load those webpages from IE or Firefox, everything goes ok, the problem is with my app.

If I try to load other websites on my app, everything goes ok, so the problem is right here and I'm not being able to solve it... any suggestions?


Enable Web Inspector support so you can see the network requests and replies and they are being made.

Try using another WebKit-based browser (Safari or Chrome) and watch the error console, in case something being thrown there.

Inject your own customized network access manager so that you can sniff the actual request.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜