C1010 unexpected end of file while looking for precompiled header.
  新建了一个project,带Qt的,莫名其妙的遇到这样的问题,百度了一下,原来是VS的自己的机制,取消即可

C1010 unexpected end of file while looking for precompiled header.
  还有一种方法是,根据提示在所有的文件第一行添加#include"stdafx.h",不过对于较大的工程,可能比较麻烦。

  这个问题的根源是,在创建Qt项目的时候,无意间勾选了预编译选项,不想用这个功能的话,勾掉即可。
C1010 unexpected end of file while looking for precompiled header.

相关文章:

  • 2022-01-31
  • 2021-09-12
  • 2021-07-08
  • 2021-12-19
  • 2021-06-03
  • 2022-12-23
猜你喜欢
  • 2021-09-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-11
  • 2021-11-16
相关资源
相似解决方案