Ubuntu设置默认打开qt项目

白色玫瑰 程序猿

时间: 2023-07-16 阅读: 1 字数:1869

{}
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...

目录

建立软链接

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打开

原文地址:https://blog.csdn.net/future_ai/article/details/81700865?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522168949707716800215098447%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fall.%2522%257D&request_id=168949707716800215098447&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2~all~first_rank_ecpm_v1~rank_v31_ecpm-16-81700865-null-null.142^v88^insert_down1,239^v2^insert_chatgpt&utm_term=%E6%80%8E%E4%B9%88%E6%89%93%E5%BC%80qt6%E9%A1%B9%E7%9B%AE

本文章网址:https://www.sjxi.cn/detil/5c46211195254231a216be449739f1b5

打赏作者

本站为非盈利网站,如果您喜欢这篇文章,欢迎支持我们继续运营!

最新评论
当前未登陆哦
登陆后才可评论哦

湘ICP备2021009447号

×

(穷逼博主)在线接单

QQ: 1164453243

邮箱: abcdsjx@126.com

前端项目代做
前后端分离
Python 爬虫脚本
Java 后台开发
各种脚本编写
服务器搭建
个人博客搭建
Web 应用开发
Chrome 插件编写
Bug 修复