![](/img/trans.png)
[英]How to compile (build) my Qt application to run on many linux distributions?
[英]How to run qt application on embedded linux target?
我是 QT 嵌入式开发的新手。 我有 windows 桌面 QT 开发知识。
我正在尝试在目标板上运行示例,但不起作用。 以下是详细信息。
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
这看起来像是 Qt 的一个已知问题, https://bugreports.qt.io/browse/QTBUG-72956 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.