One way that https://bugreports.qt.io/browse/QTBUG-49646 manifests itself is when we have single line labels centered using "horizontalAlignment: Text.AlignHCenter".
This patch works around the kerning bug using a different centering method: using the layout's alignment and setting the maximum width.
Since the workaround (centering) doesn't work when there is more than 1 line of text AND since kerning is OK when lineCount > 1, we revert back to the old method in that situation.