unknown modules serialport android 5.12
-
Hello.
I have an application that uses QtSerialPort module. It was working on framework version 5.11.3 but, with 5.12, QtSerialPort is not present (checked both framework folders and on folder /opt/Qt/5.11.3/android_armv7/include there is a folder QtSerialPort and on folder /opt/Qt/5.12.0/android_armv7/include/ no QtSerialPort folder found).
Why was it removed from 5.12?
Will it be available again in 5.12.1?
How can I make it work again with 5.12?
Thank you for your time.
-
Hello.
I have an application that uses QtSerialPort module. It was working on framework version 5.11.3 but, with 5.12, QtSerialPort is not present (checked both framework folders and on folder /opt/Qt/5.11.3/android_armv7/include there is a folder QtSerialPort and on folder /opt/Qt/5.12.0/android_armv7/include/ no QtSerialPort folder found).
Why was it removed from 5.12?
Will it be available again in 5.12.1?
How can I make it work again with 5.12?
Thank you for your time.
hi @behopibraun and welcome,
To be honest, I'm surprised it was included in 5.11 in the first place.
Officially the Qt Serial Port model is not supported for android and iOS:
This is something you should rather take to the mailing list
https://lists.qt-project.orgthat's where you'll find people actively working on the framework, this is a more of a user orientated forum
or the bugreport-dashboard, that's not only for bug reports but also for feature requests.
-
Thank you for you reply.
-
Thank you for you reply.
@behopibraun
sorry, that was a copy and paste error,
I fixed the links -
commit 25651536583ec4a138df2efb825b6a61969c4993 Author: Tony Sarajärvi <tony.sarajarvi@qt.io> Date: Thu Aug 2 14:26:58 2018 +0300 Skip qtserialport in Android builds Qtserialport won't work without rooted Androids anyways. Task-number: QTBUG-69727 Change-Id: I9a14a8e880d8e238a7f75ce12ca805c5af476407 Reviewed-by: BogDan Vatra <bogdan@kdab.com>
https://bugreports.qt.io/browse/QTBUG-69727
Unfortunately, this was not noted in the ChangeLog.
-
commit 25651536583ec4a138df2efb825b6a61969c4993 Author: Tony Sarajärvi <tony.sarajarvi@qt.io> Date: Thu Aug 2 14:26:58 2018 +0300 Skip qtserialport in Android builds Qtserialport won't work without rooted Androids anyways. Task-number: QTBUG-69727 Change-Id: I9a14a8e880d8e238a7f75ce12ca805c5af476407 Reviewed-by: BogDan Vatra <bogdan@kdab.com>
https://bugreports.qt.io/browse/QTBUG-69727
Unfortunately, this was not noted in the ChangeLog.
@aha_1980 Thank you.
Can I compile this specific module and include it to my project? If yes, how? I'm using linux.
-
Hi,
If you really want to do that, then revert what that patch did. However, as already noted, it is mandatory to have a rooted device for the serial port to work.