mercredi 22 avril 2015

Updating progress bar during copying a large file size

How to update the progress bar to show the progress of copying a file because QFile documentation says:

"Unlike other QIODevice implementations, such as QTcpSocket, QFile does not emit the aboutToClose(), bytesWritten(), or readyRead() signals. This implementation detail means that QFile is not suitable for reading and writing certain types of files, such as device files on Unix platforms."

I would greatly appreciate any help on this. Thanks

Aucun commentaire:

Enregistrer un commentaire