如何在嵌入式Linux目标上运行qt应用程序?

问题描述 投票:0回答:1

我是QT嵌入式开发的新手。我有Windows桌面QT开发知识。

我正在尝试在目标板上运行示例,但是没有用。下面是详细信息。

  • Board- Salvator-XS / ARM
  • OS映像构建-Yocto 3.9和B2qt。
  • 显示-小人国触摸
  • 板通过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#

[环境变量下面-在嵌入式目标上运行QT应用程序,我缺少什么吗?

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  
c++ qt qt5 embedded-linux
1个回答
0
投票

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

© www.soinside.com 2019 - 2024. All rights reserved.