Hi,

I am trying to load some file in QWebView through XMLHttpRequest but unfortunately it is not working since the file source is local (not HTTP). By default Firefox works very well, and in Google Chrome I can achieve this by opening it with argument --disable-web-security , but somehow I cannot manage to make QWebView to allow to load local files with XMLHttpRequest. I have tried many options including set 'LocalContentCanAccessFileUrls' to true, but unfortunately it is not working.

To keep it short, how can disable security in QWebView same as in the case with Google Chrome's --disable-web-security.

I am using QT 5.4.2 / Windows

Thanks.