在创建Qt project中 出现.txt 而不是.pro该如何更改?
出现原因:
qmake is a tool that uses .pro files to describe projects.
CMake is a tool that uses CMakeLists.txt files to describe projects.
If you were .txt then you select the wrong tool when you built up the new project.
Both are prefectly fine to build a new file. Just that .pro are more common in most tutorials.
Standard .pro file: