Pre-migrating to qt