migrate to qt