打开 Project settings ,在C/C++选项框下,在category下找到precompiled header,选择Not using precompiled header 就可以了,希望对你有帮助。