Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.15.1
-
None
-
165bc70bc39a5094a0f931d38066b1f5b585fee8 (qt/qtbase/dev) ce6a0351f568b638b879d1ad692b6a898afdb8b7 (qt/qtbase/5.15)
-
Da Vinci sprint 16
Description
https://doc.qt.io/qt-5/qfile.html#open-2
The QFile that is opened using this function is automatically set to be in raw mode; this means that the file input/output functions are slow. If you run into performance issues, you should try to use one of the other open functions.
- IO_Raw is a mode from Qt3
- The statement seems to be wrong - the QIODevice is always opened with `mode` unchanged:
https://code.qt.io/cgit/qt/qtbase.git/tree/src/corelib/io/qfile.cpp#n1044