Error while loading shared libraries: libQt5QuickControls2.so.5

I have followed directions from http://developer.toradex.com/knowledge-base/how-to-set-up-qt-creator-to-cross-compile-for-embedded-linux, http://developer.toradex.com/knowledge-base/board-support-package/openembedded-(core)#Adding_the_Qt5_Layer, and How to setup Networking for Embedded Linux Application Development.

I can “test” the device from within QtCreator and get success. I selected example gallery to try and build/run on the eval board because we will be using quick and qml stuff in our real application. I see compilation output with no errors. I further see no errors when building the application and even see that uploading gallery to the device is successful. I see it on the device. Please see attached compilationOutput.txt and applicationOutput.txt for the output from these steps.

I do not see libQt5QuickControls2.so.5 on the device in /usr/lib. However I do see the library on my development machine in sysroot/arm7at2hf-neon-angstrom-linux-gnueabi/usr/lib.

I am using the install script update.sh and the image tarball to build an SDCard. The rootfs in the tarball also does not contain the library.

How do I drive the yocto machinery to add the library to the rootfs in Colibri-iMX7-LXDE-Image_2.8b1-20180130.tar.bz2 to correctly build the SDCard? I know this won’t be the last library that I find missing.

If I add to IMAGE_INSTALL_append = … in my local.conf file; how can I tell what the include should be (i.e. qtbase maps to what exactly)?

link text

'qtquickcontrols2 ’ should be added to ‘IMAGE_INSTALL_append’. Within layers/meta-qt5/recipes-qt/qt5 folder of OpenEmbedded, you can find various bb files to provide Qt components including qtquickcontrols2. layers/meta-angstrom/recipes-angstrom/packagegroups/packagegroup-qt5.bb is used by our default ‘angstrom-qt5-x11-image.bb’ and common Qt5 components are listed there.

Thank you, I was able to move passed that error but now am getting these errors:

libEGL warning: DRI2: failed to authenticate
libpng warning: iCCP: known incorrect sRGB profile

I searched for the libEGL error and found some info on the web about creating a new link with the “vanilla” name here, this didn’t seem to solve the issue.

I am running the application from the desktop cross compiled and set up to move the app down to the eval platform.

Can you tell me how to get rid of these warnings?

Could you post a new Question, please? Thanks