Give a warning and suggest replacement for functions from https://doc.qt.io/qt-5/qvariant-obsolete.html
The obvious thing would be adding a fixit, but one step at a time.
I'm usure about the correct level for this check. I don't see how it would produce a false-positive though
Inspired by D21107