I built the QT5 image with the foll steps
IMAGE_INSTALL_append += " qtbase qtbase-tools qtdeclarative qtserialport qtcharts qtcharts-dev" in
bitbake -k angstrom-lxde-image
inherit populate_sdk_qt5 in
bitbake angstrom-lxde-image -c populate_sdk
bblayers.conf are attached.
Build is successful. So I guess Compile is Ok.
During Deploy or Runtime this error comes.
I checked for libqt5*.* files in usr/lib but there are not there.
What exact software versions of things are you talking about?
Pls also attach full build log files.
I am builing QT5 Image using the Toradex Link https://developer.toradex.com/knowledge-base/how-to-set-up-qt-creator-to-cross-compile-for-embedded-linux on Ubuntu 18.04LTS host.
When I run qtcreator I get a Error during runtime When I run a application on qtcrelink textator I get a error
error while loading shared libraries : libQt5Widgets.so.5: cannot open shared object file. no such file or directory. Application finishes with exit code 127"
Log Files Attached.
I believe I spotted where you went wrong. Please change to the following, rebuild your custom image, flash it again and retry your deployment:
IMAGE_INSTALL_append = " qtbase qtbase-tools qtdeclarative qtserialport qtcharts qtcharts-dev"
Otherwise, if you keep having issues please post the full build log files for us to further analyse.
You were spot on… thanks a lot.
Perfect that it works. Thanks for the feedback.