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,