Porting to QT5 to align to yui-qt