[Qt-interest] copy a file to a directory
Malte Witt
malte.witt at sieb-meyer.de
Mon Dec 1 10:09:45 CET 2008
> I am working with QT Designer 3.3 and there is no such method as
*shudder* - No chance to upgrade?
> "copy" for Qfile.
> Please tell me some other way
What about opening the source file (using QFile) in ReadOnly mode and then
open the destination file (also as QFile) in WriteOnly mode and then copy
the data (i.e. using a QDataStream or just the plain QFile::readAll()
method) manually?
Regards,
Malte
More information about the Qt-interest-old
mailing list