Modbus on iOs
-
I'm porting an application on iPad that needs Modbus TCP. Since there is no QModbus library for iOs, I was thinking to compile it myself from source.
- Is there any problem doing this?
- Is there any guide to do this? Or any advice where to start?
By now I copied the source from git and brutally included it in my project, but I'm getting error on some private include...
Thanks
-
Hi,
You can start by building it like other Qt modules using the qmake executable from your iOS installation.
You may have to tweak some stuff though if the module is not enabled for iOS.
-
I'm porting an application on iPad that needs Modbus TCP. Since there is no QModbus library for iOs, I was thinking to compile it myself from source.
- Is there any problem doing this?
- Is there any guide to do this? Or any advice where to start?
By now I copied the source from git and brutally included it in my project, but I'm getting error on some private include...
Thanks
@landolfi
the only thing preventing QModbus (TCP) to work on mobile is the QSerialport dependency . So you only have to remove that.But I've been told that that will be separated in one of the upcoming Qt versions, not sure which one however.
-
@landolfi
the only thing preventing QModbus (TCP) to work on mobile is the QSerialport dependency . So you only have to remove that.But I've been told that that will be separated in one of the upcoming Qt versions, not sure which one however.
@j-hilk
But I've been told that that will be separated in one of the upcoming Qt versions, not sure which one however
That is the case since 5.13.
Regards