than overwritten on some platforms Despite the fact we don't actually do any reading here, using QFile::WriteOnly on its own will truncate the file to 0 bytes which is undesirable. The documentation says QFile::ReadOnly, Append or NewOnly will prevent this. NewOnly won't work and reads are unnecessary, so Append was used initially. However on some platforms, Append will _only_ allow writing at the end of the file (ignoring the seek() function) meaning bytes won't be written where they're meant to be (this behavior happens on Linux and not on Windows, the platform discrepancy is likely a Qt bug). Using ReadWrite instead, despite not reading anything, prevents truncation and allows for writing not at the end of the file.
Olive Video Editor

Olive is a free non-linear video editor for Windows, macOS, and Linux.
Discover more: Website | Twitter | Discord | Code Documentation
NOTE: The issue tracker is temporarily closed while Olive's core is getting rewritten. We apologize for any inconvenience. Please check back soon for the next release, as well as the Patreon page for news and updates.
Getting Started with Olive:
Installation of Olive is available at: https://olivevideoeditor.org/download.php
Instructions on how to use Olive are available on our wiki: https://github.com/olive-editor/olive/wiki/Overview-Guide
NOTE: Olive is Alpha Software, and it should be treated as highly unstable. Work at your own risk.
Support Olive:
Please consider supporting Olive:
NOTE: It is strongly discouraged to use or compile the master branch in its current state as it's under heavy restructuring. Please use the 0.1.x code from the "Releases" tab instead.
Compiling from Source:
Compiling instructions for Windows, macOS, and Linux can be found on the main site.
Olive has Doxygen-compatible documentation hosted at http://olivevideoeditor.org/doxygen/. You can also run doxygen in the source root directory to generate a local copy.

