Removing Qt related code