[qmlmail] Qt5 porting.