helters would be set up for those who had lost their homes in the city of two million people, he said.
The fifth death was caused by objects falling from a water tower, officials said.
The quake was shallow, meaning its effects would have been amplified, the US Geological Survey (USGS) said.
There have also been at least five aftershocks.
Beijing has offered assistance although at the moment at least, given the relatively limited scale of the disaster, it does not look as if much outside help is needed, the BBC's John Sudworth reports from the Chinese capital.
Back in 1999, when a 7.6 magnitude quake killed more than 2,300 people in central Taiwan, a similar offer of help from the mainland became embroiled in political wrangling, with Taiwan accusing China of exploiting the situation for its own political ends, our correspondent adds.