问题遇到的现象和发生背景 :“原代码运行正常,现在是开发完后,把代码发到另外一台电脑上,点击调试,出现13个问题。QT版本是5.14.2,系统64位”
第一行#include "testbase.h"报错。
testbase.h:71:5: error: unknown type name 'QTimer'
testbase.cpp:1:1: note: in file included from D:\TouchGUI_PCBA_TestTool\testbase.cpp:1:
testbase.cpp:1:10: note: in file included from D:\TouchGUI_PCBA_TestTool\testbase.cpp:1:
在查询过程中,删除了pro.user文件,还是不行。