Migrate completely to Qt5