prepare for migrating to QT