After qtcreator is installed, there is no desktop startup icon, and it is troublesome to enter commands in the terminal every time. I used to write a method for creating icons for eclipse. This time I gave it to QT and found that I had found the logo for a long time. Simply write the following. The installation directory of my QT is/usr/local/qtsdk. If necessary, you can change the directory to your own installation directory. My version is 4.8.1. The offline QT installation package is installed over seven hundred MB.
Method: Enter Su-to obtain the root permission, and then enter the following content in gedit/usr/share/applications/qtcreator. desktop. Then you canApplicationProgram---- ProgrammingAnd selectGet DesktopYou can.
[Desktop entry]
Encoding = UTF-8
Name = qtcreator
Comment = qtcreator
Exec =/usr/local/qtsdk/qtcreator/bin/qtcreator
Icon =/usr/local/qtsdk/qtcreator/share/qtcreator/templates/shared/icon64.png
Terminal = false
Startupnotify = true
Type = Application
Categories = application; development;