原文链接:添加链接描述
从ubunut软件中心安装qtcreator是有桌面图标的,但是用命令安装.run没有快捷图标,
已亲自验证,写下过程,供大家借鉴:
1)原料:
./qt-opensource-linux-x64-5.12.5.run
2)路径:
cp qtcreator.desktop /usr/share/applications/
注:icon_32x32@2x.png来自Qt/Qt5.12.5/Tools/QtCreator目录下搜索icon得到
Qt/Qt5.12.5/Tools/QtCreator/share/qtcreator/qbs/share/qbs/examples/cocoa-application/CocoaApplication/CocoaApplication.xcassets/AppIcon.appiconset
qtcreator.desktop具体内容:
[Desktop Entry]
Exec=/home/maggie/Qt5.12.5/Tools/QtCreator/bin/qtcreator
Icon=/home/maggie/Qt5.12.5/Tools/QtCreator/bin/icon_32x32@2x.png
Type=Application
Terminal=false
Name=Qt Creator
GenericName=Qt Creator
Categories=Qt;Development;IDE;
3)运行安装目录下的qtcreator
Qt/Qt5.12.5/Tools/QtCreator/bin/qtcreator
左边栏右键QT图标,添加到喜爱,即可
————————————————
版权声明:本文为CSDN博主「chengh_chh」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/hao95165/article/details/109353410