Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How to run qt application on embedded linux target



  • Hi,

    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 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

    Thank you for your your inputs.



  • QT_PLUGIN_PATH
    QT_QPA_PLATFORM_PLUGIN_PATH
    You can try to set the QT_PLUGIN_PATH and QT_QPA_PLATFORM_PLUGIN_PATH environment variable.


Log in to reply