Qingpu belongs to Shanghai, you can definitely buy a house in Shanghai, and you can also buy a house in Shanghai if your foreign hukou meets the corresponding conditions. Foreign hukou needs social security or tax payment certificate for five consecutive years to buy a house in Shanghai, which is the most basic requirement. As long as these two conditions are met, it can buy a house. Foreign hukou must be married first, and singles can't buy a house in Shanghai. Secondly, you can only buy one set at most in the social security restricted area. Foreign hukou has no house in Shanghai, but it can't buy a shop.