A class to manage Modbus frames and another to make a Modbus server. Both classes are fully portable. An example of a modbus server is given. The code is very simple and comprehensive.
Note ; Qt includes some classes related to Modbus since Qt 5.6.
Thanks for Qtmodbustcpip, it's good!