riskio
16th September 2011, 09:57
Hi to all!
I am developing an application that has the possibility to download a file from a LAN.
The problem is that i can t figure it out why the progress bar doesn't increment!! i made some experiments without success!!
i found an article that explains exactly what i need but the code doesn't work (even copy & paste) ! (http://www.thinking-man.com/blog/entry.php?15-Using-QNetworkAccessManager-to-Download-Files-with-a-Progress-Dialog)
I can t show my own code so please refer to the code on the site above..
i think the problem is that progressbar doesn't know the dimension of the remote file so it can t calculate the total amount of space required and finally it can t set the maximum Value with setMaximum....
Someone can help pls?
Thanks!
I am developing an application that has the possibility to download a file from a LAN.
The problem is that i can t figure it out why the progress bar doesn't increment!! i made some experiments without success!!
i found an article that explains exactly what i need but the code doesn't work (even copy & paste) ! (http://www.thinking-man.com/blog/entry.php?15-Using-QNetworkAccessManager-to-Download-Files-with-a-Progress-Dialog)
I can t show my own code so please refer to the code on the site above..
i think the problem is that progressbar doesn't know the dimension of the remote file so it can t calculate the total amount of space required and finally it can t set the maximum Value with setMaximum....
Someone can help pls?
Thanks!