【报错】使用QT导入ros工程时报错:Unable to find package: image_transport

【报错】使用QT导入ros工程时报错:Unable to find package: image_transport

报错信息:

QObject::connect: Cannot queue arguments of type 'QVector'
(Make sure 'QVector' is registered using qRegisterMetaType().)
[rospack] Error: package 'image_transport' not found
[librospack]: error while executing command
terminate called after throwing an instance of 'pluginlib::ClassLoaderException'
what(): Unable to find package: image_transport

解决

安装image_transport库

命令:

sudo apt-get install ros-melodic-image-transport

你可能感兴趣的:(机器人开发,qt,开发语言,ros)