Details
-
Suggestion
-
Resolution: Unresolved
-
P5: Not important
-
None
-
None
Description
These functions cannot report errors currently:
http://doc.qt.io/qt-5/qiodevice.html#read-1
http://doc.qt.io/qt-5/qiodevice.html#readAll
http://doc.qt.io/qt-5/qiodevice.html#readLine-1
However additional bool* parameter or even a lambda callback function could be used to signal these.
Attachments
Issue Links
- relates to
-
QTBUG-70033 QIODevice::close() should return a boolean (e.g. to handle disk-full situations)
- Reported
-
QTBUG-45190 Add QTextStream::read|readAll|readLine(QString *) overloads to reuse QString's capacity
- Open