Also removes the QT_VERSION check around the QFontDatabase #include. QFontDatabase has existed since at least Qt 4.2.
This can go in after #13458.
Also, remove the QT_VERSION check around the QFontDatabase #include.
A matter of taste, I think the motivation for this #ifdef is to avoid including unnecessary things. Agree it's not strictly necessary.
<!--e57a25ab6845829454e8d69fc972939a-->Note to reviewers: This pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
Agree, however in a .cpp I think it's ok.
My worry is: we had an issue recently (#13314) where someone removed an unguarded #include under the impression that it wasn't needed. It was needed on some platform.
I think keeping the include guard until we bump the minimum required qt version above that is fine.
Changing the formatting of the constant (prefix 0) seems fine, though.
Closing then, this is not worth changing IMO.