ProgressBar for File Copy from source to destination on QT 5.9.2
We are working on QT 5.9.2 for GUI (QtQucik Control Application 2)application, in that i want to work on progressbar , for my application there is a one button , when i clicked that button one more screen is appear in that it showing perentage of file copy(how many bytes file is copying), So Please give me any suggestions or any examples.
QFile does not report progress of file copying. So you need to either use a different library or copy file contents manually: one QFile to read from, another QFile to read to. That would give you a nice loop in which you can send percentage of completion to your progress bar easily (using some signal).