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

Jonathan Kew jonathan_kew at sil.org
Wed May 6 17:25:53 CEST 2009


On 6 May 2009, at 10:51, Mike Inman wrote:

>
> Does anyone here use QFile::copy( fromName, toName ) to copy files out
> of the resource files?
>
> It has always been a little odd, leaving a temp file behind in the
> destination directory, but since I (simultaneously) "upgraded" from
> 4.4.0 to 4.5.1 and Visual Studio 2005 to 2008, I have since lost the
> destination files and now only get the temporary file in the  
> destination
> directory.
>
> Any insight would be appreciated.

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.

Getting *only* the temp file would be even more disturbing; have you  
filed a bug report?

JK




More information about the Qt-interest-old mailing list