【报错】使用QT导入ros工程时报错:Unable to find package: image_transport
报错信息:
QObject::connect: Cannot queue arguments of type 'QVector<int>'
(Make sure 'QVector<int>' 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