Qt

QFile::canReadLine() always returns false