i 'd like to have a portable solution.
Why the flush() function doesn't work?
i 'd like to have a portable solution.
Why the flush() function doesn't work?
What would you like it to do? It won't speed up anything.
As for portability, I suggest using #ifdef directives and use sendfile() on Linux, some native function on Windows and QFile::copy() elsewhere.
Bookmarks