migrating do Qt