When was QIODeviceBase introduced?
-
The
QIODevice::OpenMode
flags were changed between 5.15 and 6.x to useQIODeviceBase::OpenMode
. Unfortunately, I only have access to the source code for Qt 6.5 and higher, where it seems the change was already made. However, I am still trying to support at least Qt 5.15.3, so when I write code to open a file, I would like to be able to wrap the code in#if QT_VERSION_CHECK...#else...
etc.What was the exact version of Qt where this change was introduced?
-
Since it was an api change it could only happened in Qt6.0
-
Since it was an api change it could only happened in Qt6.0
@Christian-Ehrlicher Thanks!
Can anyone tell me where I can browse the source code for Qt for versions older than 6.5, i.e. between 6.0 and 6.4? Although I had them until recently, they seem to have disappeared after I upgraded my laptop's Ubuntu OS.
-
@Christian-Ehrlicher Thanks!
Can anyone tell me where I can browse the source code for Qt for versions older than 6.5, i.e. between 6.0 and 6.4? Although I had them until recently, they seem to have disappeared after I upgraded my laptop's Ubuntu OS.
@Robert-Hairgrove The easiest way is through git. The Github mirror at https://github.com/qt/qtbase/ has the entire open source history of Qt 5 and 6 core modules - use the branch selector. The are also all the released source archives of those as well of Qt 4 and Qt 3 releases in the downloads server.
-