开发者

Qt: make a browser which can download

开发者 https://www.devze.com 2023-04-02 00:58 出处:网络
I am making a browser in qt and i wanted开发者_运维技巧 to know how to make it download/save files.

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

0

精彩评论

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