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.


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