Fail to run QT serial port application

Dear Expert,
I’m trying to develop a QT application that uses the serial communication (QSerialport) but I got the below alarm when it try to run on my iMX6.

/usr/share/qt5/tests/RFID_reader: error while loading shared libraries: libQt5SerialPort.so.5: cannot open shared object file: No such file or directory
Application finished with exit code 1

It seems that serial library is not included on QT runtime, is it correct?

Thank you in advance for your help

David

Yes it seems that the Qt Serial Port library is missing. There is a recipe qtserialport in meta-qt5. It seems that the library is not part of the regular Qt5 libraries, you probably have to add it manually (e.g. by adding IMAGE_INSTALL_append = "qtserialport" in local.conf).

Many thanks Stefan.

David

Many thanks Stefan.

David