[Qt-interest] QFile::copy from the resource files

Oliver.Knoll at comit.ch Oliver.Knoll at comit.ch
Wed May 6 17:41:22 CEST 2009


Jonathan Kew wrote on Wednesday, May 06, 2009 5:26 PM:
> ...
> I've also seen the problem of temp files ending up in the dest dir
> (only on Windows, this doesn't happen on Linux or OS X). Very
> annoying, but I haven't had time to investigate and figure out
> whether I'm doing something wrong.

Me too, I had these temp files on Windows (did not try Linux yet) when copying data from Qt embedded resources into the file system. Since I also thought this annoying I ended up copying first the embedded data into a QByteArray or so and save this into a new file. :)

Cheers, Oliver   
-- 
Oliver Knoll
Dipl. Informatik-Ing. ETH
COMIT AG - ++41 79 520 95 22



More information about the Qt-interest-old mailing list