What caused the revolution against the Qing dynasty?