A magnitude-5.5 earthquake hit Mangya City in northwest China's Qinghai Province on Thursday, according to the preliminary record of the China Earthquake Networks Center.