2017-05-05 17 views
0

ターミナルで「catkin_make」(QT 5.8 ubuntu 16.04 ROS kinetic)でコンパイルできるROSパッケージをqtで開きたいです。 qt cannot open it "〜/ .local/share/applications/DigiaQt-qtcreator-community.desktop"が修正され、 "bash -i -c"が追加されました。 fix qt desktop また、.bashrc "別名qt = 'bash -c/home/cgd/Qt/Tools/QtCreator/bin/qtcreator'を修正しようとしましたが、失敗しました。 どうすればいいですか?私を助けてください! thxQtオープンROSパッケージの使い方は?

答えて

0
[Desktop Entry] 
Type=Application 
Exec=bash -i -c /opt/Qt5.6.2/Tools/QtCreator/bin/qtcreator 
Name=Qt Creator (Community) 
GenericName=The IDE of choice for Qt development. 
Icon=QtProject-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; 

これは私のqt.desktopです。パッケージの下にあるCMakeLists.txtを開くだけです。

+0

上記の操作でqt 5.6のオフラインバージョンを再インストールしても機能します。オンラインインストール5.8のバージョンはまだOKではありません...ありがとうございました 私の質問にあなたの返信を! – cgdsss

関連する問題