[Qt-interest] void QFile::readyRead() vs bool QFile::open ( FILE * fh, OpenMode mode ) vs FILE *popen(const char *command, const char *type)
Malyushytsky, Alex
alex at wai.com
Fri Jul 22 03:21:23 CEST 2011
I don't think readyRead() is supposed to be used with QFile.
If you want to update when file is changed you might check QFileSystemWatcher
Alex
-----Original Message-----
From: qt-interest-bounces+alex=wai.com at qt.nokia.com [mailto:qt-interest-bounces+alex=wai.com at qt.nokia.com] On Behalf Of Imre PÉNTEK
Sent: Thursday, July 21, 2011 3:27 PM
To: qt-interest at qt.nokia.com
Subject: [Qt-interest] void QFile::readyRead() vs bool QFile::open ( FILE * fh, OpenMode mode ) vs FILE *popen(const char *command, const char *type)
Hello!
It seems to me when using the above functions void QFile::readyRead() will be
never emitted. Also, waitForReadyRead(10000) will return false immediately.
Is there something I can do to make this work? Is it a bug?
--
With regards: Imre Péntek
E-Mail: pentek.imre at gmail.com
_______________________________________________
Qt-interest mailing list
Qt-interest at qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-interest
---------------------------------------------------------------------------------------------------
Weidlinger Associates, Inc. made the following annotations.
“This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you.”
“Please consider our environment before printing this email.”
More information about the Qt-interest-old
mailing list