Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Ajax send status 0 on javascript in a WebView html file



  • Hi,

    I made a QwebView that load a simple html file with javascript that request images from outher url with Ajax.

    The problem is that the 'xmlhttp.status' always returns 0 , but when i request the html file as a page on a localhost server via 'page' method , the script work fine.

    How to solve this ? Thanks.



  • Using file:/// protocol?


Log in to reply