I want to load a download link (i.e. http://www.videolan.org/mirror-geo.p....9.9-win32.exe) with QTWebKit but i dont know how to do it. Any suggestions ?
I want to load a download link (i.e. http://www.videolan.org/mirror-geo.p....9.9-win32.exe) with QTWebKit but i dont know how to do it. Any suggestions ?
Use QNetworkAccessManager. WebKit is a web browser, not a downloader.
any example on how tu use QNetworkAccesManager to download a link using QTWebKit ?
I have done this with QWebPage.
The download link is currently unsupported for that. So you have to hadle it manually. There is a property, something like "handleunsupported***". You have to set it first.
Then there is a signal, "unsupportedoccd***". You have to connect it with your slot. in that you can easily get the URL.
Download it with HTTPE GET command.
For more details you can see
QtDemo->Demonstration->Browser Code.
-Have Fun
Bookmarks