Qt: make a browser which can download
I am making a browser in qt and i wanted开发者_运维技巧 to know how to make it download/save files.
Thanks in advance.
For a simple program which fetches files from a url string, look at the "HTTP Example"
http://doc.qt.io/qt-5/qtnetwork-http-example.html
You can use QNetworkAccessManager. With Qt Webkit Bridge.
http://doc.qt.io/qt-5/qnetworkaccessmanager.html
http://doc.qt.io/qt-5/qtwebkit-bridge.html
精彩评论