-2

I am making a browser in qt and i wanted to know how to make it download/save files.

Thanks in advance.

Andrew
  • 165
  • 4
  • 16

2 Answers2

2

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

Christophe Weis
  • 2,518
  • 4
  • 28
  • 32
1

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

Christophe Weis
  • 2,518
  • 4
  • 28
  • 32
tucnak
  • 33
  • 1
  • 2
  • 6