Qt5 has an OpenGL engine similar to that in Qt4 so I'm guessing the fonts are rendered in a similar fashion. In addition to that Qt Quick 2 in Qt5 uses distance fields for rendering text in Qt Quick.