[Qt-interest] qfile and qtextstream oddities
Mike A. Delaney
mike.delaney at vampyred.net
Tue Jan 6 22:57:26 CET 2009
I am trying to create a class that has a QFile and QTextStream member
but I noticed that even though the QFile reports the file is open and
writable anything I try to send to the QTextStream never shows up in the
file; the file size remains zero. However, if I create a function and
try to use the same open parameters and same method calls the text file
is populated with the expected results.
Can anyone help me figure out what I'm doing wrong?
I have attached a small QT project to help paint a better picture of
what I am seeing.
I am using Qt 4.4.0 on Windows with MinGW
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qfile-qtextstream.tar.gz
Type: application/gzip
Size: 786 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090106/d6f523f4/attachment.bin
More information about the Qt-interest-old
mailing list