Qt 解决:fatal error C1189: #error : include 'stdafx.h' before including this file for PCH

现遇到此错误提示,预与大家分享解决方法。

解决此问题的方法是:

确保  "stdafx.h" 是你的每个实现文件中包含的第一个头文件。

原文地址:https://www.cnblogs.com/ybqjymy/p/15127448.html