QT提示warning: overriding recipe for target【解決方法】

問題描述:

在Qt編譯項目時候,出現如下的問題

Makefile:23976: warning: overriding recipe for target 'aaa.o'
Makefile:17956: warning: ignoring old recipe for target 'aaa.o'

 

解決方法:

打開 .pro文件,找 aaa.h或者aaa.cpp有沒有重複加載,有的話加載一個即可。

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章