错误提示 error: dependent ‘xxx’ does not exist.
错误原因 在工程里修改*.cpp文件的文件名,没有执行qmake, 然后直接编译。
解决方案 先执行qmake, 然后再编译。