- error while loading shared libraries: libQt5SerialPort.so.5: cannot open shared object file: No such file or directory
解决方法,找到SDK的目录/opt/poky/3.1.20/sysroots/aarch64-poky-linux/usr/lib64$下面,他是有libQt5SerialPort.so.5这个文件的,所以直接复制到开发板:
- scp libQt5Serial* root@192.168.3.128:/usr/lib64/