Quantcast
Channel: Installation and Deployment
Viewing all articles
Browse latest Browse all 22112

Read local file from QWebView using Ajax request

$
0
0
Hi, I am developing a Qt/C++ program which encapsulates an existing HTML5/JQuery web app. I used to make Ajax requests to read files from a server. But now, I would like Qt to read a file from the local disk and send its content to my web app. I think I need Qt to catch Ajax requests from the web app and return the file content as the Ajax request result. The problem is I don’t know how to do. For now, I’ve not found anything about that on google. Thanks!

Viewing all articles
Browse latest Browse all 22112

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>