建立软链接
sudo ln -s /opt/Qt5.11.1/Tools/QtCreator/bin/qtcreator /usr/local/bin/qtcreator
sudo gedit /usr/share/applications/qtcreator.desktop
[Desktop Entry]
Name = Qt Creator
Comment = Open qt pro file
Exec = qtcreator %U
Terminal = false
StartupNotify = true
X-MultipleArgs = false
Type = Application
Categories = Utility;
Icon = /root/Pictures/qt.png
下载qtcreator的logo,放在/root/Pictures/里。
找一个qt项目,右键选择默认Qtcreator打开