-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Qt6 fixes #36
base: master
Are you sure you want to change the base?
Qt6 fixes #36
Commits on Aug 8, 2020
-
Use QElapsedTimer to measure time differences.
QTime::elapsed() is deprecated in recent Qt5, and removed in Qt6. Use QElapsedTimer instead, which is the suggested replacement.
Configuration menu - View commit details
-
Copy full SHA for c2987bd - Browse repository at this point
Copy the full SHA c2987bdView commit details -
Use QString::vasprintf() in newer Qt versions.
vsprintf() is deprecated in recent Qt5, and removed in Qt6. Its replacement vasprintf() is available since Qt 5.5.
Configuration menu - View commit details
-
Copy full SHA for 3c395f7 - Browse repository at this point
Copy the full SHA 3c395f7View commit details
Commits on Aug 16, 2020
-
Replace QDateTime::fromTime_t for newer Qt.
fromTime_t has been deprecated and removed from Qt6. Use the replacement fromSecsSinceEpoch() on Qt 5.8+.
Configuration menu - View commit details
-
Copy full SHA for c2bbd90 - Browse repository at this point
Copy the full SHA c2bbd90View commit details -
Replace QRegExp with QRegularExpression.
QRegExp is deprecated in recent Qt, and has been removed in Qt6. Use the replacement QRegularExpression.
Configuration menu - View commit details
-
Copy full SHA for 68b90a9 - Browse repository at this point
Copy the full SHA 68b90a9View commit details -
Use range iterator for creating QSet on newer Qt.
fromList() is deprecated and has been removed in Qt6. Since Qt 5.14 range constructors are available, use those instead.
Configuration menu - View commit details
-
Copy full SHA for 294f286 - Browse repository at this point
Copy the full SHA 294f286View commit details
Commits on Dec 18, 2021
-
FileAppender: don't force flush data to file system (behavior change!)
FileAppender will no longer call QFile::flush on every message write due to it dramatically slowing apps when writing a lot of log records to slow file system. The downside is some log data may be lost if application crashes before QFile manages to write all of the buffered data to file system. It is still possible to revert to an old behavior calling setFlushOnWrite(true) on FileAppender.
Configuration menu - View commit details
-
Copy full SHA for 56c5446 - Browse repository at this point
Copy the full SHA 56c5446View commit details -
Updated to newer version of CMake
CMake started showing deprecation warning about CMake 2.8 files support.
Configuration menu - View commit details
-
Copy full SHA for d4a11a3 - Browse repository at this point
Copy the full SHA d4a11a3View commit details -
Qt6 moves QTextCodec to the Qt5Compat module. Since it's unused anyway remove it so we don't get the dependency on Qt5Compat.
Configuration menu - View commit details
-
Copy full SHA for 61d2d1e - Browse repository at this point
Copy the full SHA 61d2d1eView commit details
Commits on Dec 25, 2021
-
Fix destructor segfault with newer Qt versions.
Getting the values from a QMultiMap() returns a list, but not the same on consecutive calls. Thus calling it twice to get the iterators will yield different lists, causing the iterator to fail. Fixes segfault when destructing the logger.
Configuration menu - View commit details
-
Copy full SHA for b85d886 - Browse repository at this point
Copy the full SHA b85d886View commit details