Rewrite a piece of software by Qt.