Есть флаги OpenMode.ЦитироватьQIODevice::WriteOnly0 x0002The device is open for writing.QIODevice::Truncate0x0008If possible, the device is truncated before it is opened. All earlier contents of the device are lost.Почему QFile:

pen(QIODevice::WriteOnly) делает Truncate, нафига тогда QIODevice::Truncate?И как правильно открыть файл на запись без Truncate?