- 
    
Bug
 - 
    Resolution: Done
 - 
    
P2: Important
 - 
    5.12.3
 - 
    None
 
- 
        
 - 
        3fbb6a957227968951283107813271218058b719 (qt/qtbase/5.12)
 
- The following code snippet will try to overwrite an exist file, the result is that the old data won't be cleared. It doesn't work on UWP at least.
 
QFile file(filePath);
file.open(QFile::WriteOnly | QFile::Truncate);