Generate sanguosha.qm automatically when it does not exist