This project contains source code for a Qt5 Serial Bus module plugin. The purpose is to allow the CLX000 CAN bus data logger & interface from CSS Electronics to stream data into applications utilizing the Qt5 Serial Bus framework (e.g. SavvyCAN).
If not targeting a system-wide Qt installation, the vcpkg
(integrated as a git submodule) can be utilized. Current configuration is only enabled for CMake.
First, bootstrap the vcpkg installation in the submodule.
./vcpkg/bootstrap-vcpkg.sh
Create a folder for out-of-tree building, and configure cmake.
mkdir build
cd build
cmake -DCMAKE_TOOLCHAIN_FILE=../vcpkg/scripts/buildsystems/vcpkg.cmake ..
During configuration, all required dependencies should be downloaded, built and installed locally in the vcpkg
folder. After configuration, build the plugin with
cmake --build --target clx000canbus
Copy the module to the system Qt5 installation into the plugins/canbus
directory.
Create the same structure as above under the applications plugins folders, such that the module is present in plugins_folder/canbus
. The application must have been built with the local path for loading modules.
For details on using the CLX000 as a CAN bus data logger and CAN interface, see the products pages and documentation:
Feature suggestions, pull requests or questions are welcome!
You can contact us at CSS Electronics below: