QT error: undefined reference to `qMain(int, char**)

轉自 https://blog.csdn.net/qq_35479392/article/details/80859131 編譯錯誤:undefine reference to `qMain(int, char**)’ web 由於我那個main.cpp文件是後來加過去的,因此在.pro文件中SOURCES那一行少加了main.cpp,因此出現錯誤找不到qMain函數。 原先.pro文件中:
相關文章
相關標籤/搜索