Forums » Software Development »
AM57x QT Starter Guide 2022 problem
Added by Mert Eroglu 9 months ago
I am just trying to follow QT Starter Guide 2022 step by step.
First I guess, there is no package called qt5-default in Ubuntu 22.04, So I installed qtbase5-dev, qtchooser,qt5-qmake, qtbase5-dev-tools by hand.
Additionally, standart qt installation installs 5.15.3 version of the qt.
When I try to add Debugger and qmake as stated in the manual, I get errors in the attachments.
Can you help me to proceed?
Replies (3)
RE: AM57x QT Starter Guide 2022 problem - Added by Mert Eroglu 9 months ago
For additional information, I tried both in virtual machine and dual boot setup symptoms are same.
RE: AM57x QT Starter Guide 2022 problem - Added by Jonathan Cormier 9 months ago
Thanks for letting us know. I'll run through the instructions and see if I can fix the steps needed.
RE: AM57x QT Starter Guide 2022 problem - Added by Jonathan Cormier 9 months ago
According to TI they only tested this release on Ubuntu 18.04. I've tested it on 20.04 and it works, but it doesn't work on 22.04+. I've updated the wiki to remove the reference to 22.04
$ cat /etc/os-release PRETTY_NAME="Ubuntu 22.04.4 LTS" $ source /usr/local/arago-2019.11/environment-setup [linux-devkit]:~/Downloads> which qmake /usr/local/arago-2019.11/sysroots/x86_64-arago-linux/usr/bin//qmake [linux-devkit]:~/Downloads> qmake qmake: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory [linux-devkit]:~/Downloads> ldd /usr/local/arago-2019.11/sysroots/x86_64-arago-linux/usr/bin//qmake linux-vdso.so.1 (0x00007ffddbbed000) libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x0000700f57a00000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x0000700f57919000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x0000700f57c9b000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x0000700f57600000) /usr/local/arago-2019.11/sysroots/x86_64-arago-linux/lib/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x0000700f57ccd000)
Tested on 20.04
$ cat /etc/os-release NAME="Ubuntu" VERSION="20.04.6 LTS (Focal Fossa)" $ source /usr/local/arago-2019.11/environment-setup $ qmake -v QMake version 3.1 Using Qt version 5.11.3 in /usr/local/arago-2019.11/sysroots/armv7at2hf-neon-linux-gnueabi/usr/lib
Hopefully, TI will release an updated SDK 09 (yocto kirkstone) build that will work on the newer ubuntus but I'm not sure when/if that will be.