1、下载并安装QT5.12.12
https://download.qt.io/archive/qt/5.12/5.12.12/qt-opensource-linux-x64-5.12.12.run
2、下载QT-ROS插件
https://codeload.github.com/ros-industrial/ros_qtc_plugin/zip/refs/tags/0.4.3
3、安装依赖
sudo apt install libgl1-mesa-dev ninja-build libyaml-cpp-dev libqtermwidget5-0-dev libutf8proc-dev
4、QT creator导入插件
打开QT creator,选择帮助-关于插件-Install Plugin,然后选择下载的插件0.4.3
5、配置完成