淘先锋技术网

首页 1 2 3 4 5 6 7

在Linux中,Qtcreator也算是一个不错的免费开发IDE工具了,但是在开发Ros程序需要简单配置下

 

修改/usr/share/applications/DigiaQt-qtcreator-enterprise.desktop

[Desktop Entry]
Type=Application
Exec=
bash -i -c /opt/Qt5.12.0/Tools/QtCreator/bin/qtcreator
Name=Qt Creator (Enterprise)
GenericName=The IDE of choice for Qt development.
Icon=QtProject-qtcreator
StartupWMClass=qtcreator
Terminal=false
Categories=Development;IDE;Qt;
MimeType=text/x-c++src;text/x-c++hdr;text/x-xsrc;application/x-designer;application/vnd.qt.qmakeprofile;application/vnd.qt.xml.resource;text/x-qml;text/x-qt.qml;text/x-qt.qbs;

红色为添加内容,目的是为了在通过快捷方式启动Qtcreator时使得Ros环境生效(Ros环境的脚本在.bashrc中添加)

当然也可以在终端中直接启动Qtcreator,直接启动不需要添加,添