Ubuntu安装qt
-
到qt官网下载“qt-opensource-linux-x64-5.9.1.run”
-
分别安装g++, build-essential, libglq-mesa-dev, libglu1-mesa-dev freeglut3-dev
输入指令:”sudo apt-get install g++” ->
“sudo apt-get install build-essential” ->
“sudo apt-get install libgl1-mesa-dev” ->
“sudo apt-get install libglu1-mesa-dev freeglut3-dev” -
安装qt,在下载的安装目录下打开 终端 ”open in termial”
输入指令:”sudo chmod +x qt-opensource-linux-x64-5.9.1.run” -> “sudo ./qt-opensource-linux-x64-5.9.1.run” -
安装qtcreator
输入指令:”sudo apt-get install qtcreator” -
配置
报错”No suitable kits found. Add a kit in the options or via the maintenance tool of the SDK”,在Qt version版本处选择,已安装的Qt版本
报错”no suitable kits found”
安装cmake,输入指令:”sudo