Fix all warnings introduced by Qt 5.15. Sometime, the replacements were only introduced:
- in Qt 5.14 (for
QAtomicInteger
), - or in 5.11 for
QFontMetrics::horizontalAdvance
.
So a new preprocessor macros are necessary to keep the compatibility with Qt 5.13 and previous versions.