olidem
4th March 2010, 16:40
Hi,
I have set up my http request fine, now I want to set up a progressbar giving info to the user.
I connected the QHttp::dataSendProgress(int,int) signal to my gui class.
But the two parameters always have the *same* value, eg.
If actual contentLength is 68888, QHttp emits
dataSendProgress( 69064 , 69064 )
dataSendProgress( 69115 , 69115 )
Further, I am not able to calcualte this somehow else, since the values being emitted always get slightly larger than requestHeader.contentLenght().
I am still running Qt 4.5.2 on Windows.
Thanks in advance,
Oliver
I have set up my http request fine, now I want to set up a progressbar giving info to the user.
I connected the QHttp::dataSendProgress(int,int) signal to my gui class.
But the two parameters always have the *same* value, eg.
If actual contentLength is 68888, QHttp emits
dataSendProgress( 69064 , 69064 )
dataSendProgress( 69115 , 69115 )
Further, I am not able to calcualte this somehow else, since the values being emitted always get slightly larger than requestHeader.contentLenght().
I am still running Qt 4.5.2 on Windows.
Thanks in advance,
Oliver