qt 环境配置的一些错误解决

1.Cannot connect creator comm socket /tmp/qt_temp.u14973/stub-socket:
 
No such file or directory

打开Tool->Options->Environment->General

将terminal改为 xterm -e就好了.

注:网上说是QT本身的Bug,不知道以后的版本有没有调整(本人有些怀疑)

2、“Qt Creator can use the following kits for project FixEngine:
         No valid kits found

Please go to Tools->Options->Build & Run->Kits and set up one kit to use. At least fill in the device type, device (most likely desktop) as well as the tool chain and debugger. For qmake-based projects you will also need a qt version and mkspec (which can be empty if you are ok with the default one).

You might need to define Qt versions and tool chains first (other tabs on the same options page).

Creator needs this information to know how to parse your compile output and debug the results.


你可能感兴趣的:(心得)