版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/baidu_28455067/article/details/79515740
ROS+Qt开发环境安装错误( qt57creator-plugin-ros无法安装)
根据此开源项目https://ros-industrial.github.io/ros_qtc_plugin/_source/Improve-ROS-Qt-Creator-Plugin-Developers-ONLY.html安装qt57creator-plugin-ros,可能会发生错误。
1.安装步骤
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test
- sudo add-apt-repository ppa:levi-armstrong/qt-libraries-trusty
- sudo add-apt-repository ppa:levi-armstrong/ppa
- sudo apt-get update && sudo apt-get install qt57creator-plugin-ros libqtermwidget57-0-dev
2.出现错误
- 下列软件包有未满足的依赖关系:
qt57creator-plugin-ros : 依赖: libqtermwidget59-0 (>= 0.6.1) 但是它将不会被安装
E: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系。
3.解决方法
- sudo apt-get update && sudo apt install qt59creator
- sudo apt-get install qt57creator-plugin-ros
这样可以完美解决上述的错误!