Note: QtSerialBus: Newer kernel needed for flexible data-rate frame support (canfd_frame).
It does not seem to me a problem but an informative note.
If you do not use CAN, check:
Is Kernel Network CAN enabled? Something like:
Networking support --->
<M> CAN bus subsystem support --->
--- CAN bus subsystem support
<M> Raw CAN Protocol (raw access with CAN-ID filtering)
<M> Broadcast Manager CAN Protocol (with content filtering)
CAN Device Drivers --->
<M> Virtual Local CAN Interface (vcan)
<M> Platform CAN drivers with Netlink support
Mandatory, because under the kernel is the SocketCAN that handles this.
Install the can-utils package
It is necessary to include / install QtSerialPort, not for CAN but for ModBus that is part of QtSerialBus.