Create a desktop startup icon for the newly installed qtcreator in Linux

Source: Internet
Author: User

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;

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.