I mean does your user have the rights to access that device ? What does ls -la /dev/ttyAMA0 return ?
Interested in AI ? www.idiap.ch
Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
port access example: https://github.com/ncp1402/ql-serial
application example: https://github.com/ncp1402/qcsvlog