简体   繁体   中英

How to run qt application on embedded linux target?

I am new to QT embedded development. I have windows desktop QT development knowledge.

I am trying to run examples on target board, but not working. Below are the details.

  • Board- Salvator-XS/ARM
  • OS Image Build - Yocto 3.9 and B2qt.
  • Display - Lilliput Touch
  • Board Connected to Display using HDMI
root@salvator-x:/data/user/qt# ./PokyWidget -platform Wayland-EGL  
Using Wayland-EGL
Using the 'xdg-shell-v6' shell integration  
./PokyWidget: **symbol lookup error: /usr/lib/libQt5Gui.so.5: undefined symbol: hb_font_set_ptem**  
root@salvator-x:/data/user/qt#

Below the Environment variables - Is there anything I am missing to run QT application on embedded target?

root@salvator-x:/data/user/qt# printenv 
LD_LIBRARY_PATH=/usr/local/lib  
OLDPWD=/data/user/qt/textinput  
EDITOR=vi  
XDG_SESSION_ID=c2  
HUSHLOGIN=FALSE  
USER=root  
PWD=/data/user/qt  
HOME=/home/root  
MAIL=/var/spool/mail/root  
SHELL=/bin/sh  
TERM=xterm  
SHLVL=1  
LOGNAME=root  
XDG_RUNTIME_DIR=/run/user/0  
PATH=/usr/aarch64-poky- linux/bin:/etc:/lib:/bin:/usr/lib:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/usr/aarch64-poky-linux/bin:/etc:/lib:/bin:/usr/lib:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin  
PS1=\u@\h:\w$  
_=/usr/bin/printenv  

这看起来像是 Qt 的一个已知问题, https://bugreports.qt.io/browse/QTBUG-72956

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM