[Qt-interest] QFile::copy from the resource files
Mike Inman
mangocats at gmail.com
Wed May 6 17:55:21 CEST 2009
Jonathan Kew wrote:
> 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
>
>
Yes, I'm using this bug to test the "pilot" support system - I have seen
others' bug reports (long ago) about the temp files hanging around in
Windows, but the temp file only result definitely seems bug-like, moreso
because it did not involve a change in my source code.
Mike
More information about the Qt-interest-old
mailing list