[Qt-interest] Writing file.

Ian Thomson Ian.Thomson at iongeo.com
Wed Apr 8 13:12:01 CEST 2009


Hi,

 > Where do you *close* the file? (Rhetorical question)
 >
 > No close(), no flush, no bytes written!
 >

As the QFile is a a local variable it will automatically close when it 
goes out of scope. It won't flush though, so that's probably the problem.

Cheers,
Ian.



More information about the Qt-interest-old mailing list