qtCannelloniCanBus is a qtCanBus plugin that can communicate through Cannelloni (https://github.com/mguentner/cannelloni) protocol.
To compile qtCannelloni you need a recent Qt 5 library, cmake and a compiler that supports C++14.
Go to project directory and type:
mkdir build
cd build
cmake -DCMAKE_PREFIX_PATH="PATH_TO_QT_INSTALLATION_DIR" ../
make
Now library file libqtCannelloniCanBusPlugin.so
was created. Copy this file to your Qt CanBus plugins directory (e.g. PATH_TO_QT_INSTALLATION_DIR/plugins/canbus/libqtCannelloniCanBusPlugin.so
).
Now you should be able to load the plugin through standard Qt CanBus facilities:
QCanBus::instance()->createDevice(plugin, interfaceName)
where plugin
is a string cannelloni
and interfaceName is a string of format local_port,remote_ip,remote_port
.