How to run Qt5 in BeagleBone AI ?

Hello,
1.for example to run #./test1 in BBAI, then display :
./test1: error while loading shared libraries: libQt5Widgets.so.5: cannot open shared object file: No such file or directory
2.#./ldd test1
linux-vdso.so.1 (0xbef2b000)
libQt5Widgets.so.5 => not found
libQt5Gui.so.5 => not found
libQt5Core.so.5 => not found
libQt5GLESv2.so.2 => not found

Thanks in advance,
Anditech

You need to install the QT5 libraries.

I don’t own an AI so can’t say exacltly which packages you will need to install.

you could try doing

apt install qt5base_dev

It will include the development files which you probably don’t need, but the main QT libs should be a dependency for the package.
That willl probably fix the QT libs issue.

Not sure about linux-vdso, you may need to compile it from source yourself.

Hi @Anditech if your running Debian, just install those packages… The lxqt image for BeagleBone AI, is the full desktop…

Regards,

thanks
sudo apt install qt5base_dev, then display:
E: Unable to locate package qt5base_dev

Install lxqt in BeagleBone AI (ref: https://bytexd.com/how-to-install-lxqt-desktop-environment-on-debian/)
sudo apt update
sudo apt upgrade
sudo apt install task-lxqt-desktop
sudo dpkg-reconfigure sddm
(if sudo dpkg-reconfigure gdm3 => dpkg-query: package ‘gdm3’ is not installed and no information is available)
(if sudo dpkg-reconfigure lightdm => dpkg-query: package ‘lightdm’ is not installed and no information is available)
then running Qt5 OK, but run slowly in 3D Graphics demo

I have 2 boards: (A) BBAI board, (B) TL5728-EASY-EVM board (not TI)

  1. for example to run #./textures in (A) BBAI, then display :
    libEGL waring:DRI2: failed to authenticate
    the display 3D graphic OK
  2. for example to run #./textures in (B) TL5728-EASY-EVM, then display :
    Using wayland-EGL
    wlpvr: PVR Services Initialised
    the display 3D graphic OK
    =>3D graphic display in (B) was faster than in (A)

Any suggestion? Thanks

The Kernel of (B) TL5728-EASY-EVM was built by ti-processor-sdk-linux-rt-am57xx-evm-04.03.00.05 (the processor SDK target file system includes the pre-built Qt libraries)

Could you provide detail steps to build Kernel for BBAI by ti-processor-sdk-linux-rt-am57xx-evm-04.03.00.05 or ti-processor-sdk-linux-rt-am57xx-evm-06.03.00.106 ? Thanks