Raspberry PI CrossCompile Lib --> Missing "libQtXmlPatterns.so.5"
-
Hi,
i try to use qt5 via cross compiling. (Guide: http://qt-project.org/wiki/Create#QtonPi_App_SDK)
I have install the stuff on my host (arch linux, 64bit) and use the "helllo-qtonpi" example for the first shot. The compile is okay (still no have errors), but if i try to start the programm on my raspberry (raspbian), i get the error message "./hello-qtonpi: error while loading shared libraries: libQtXmlPatterns.so.5: cannot open shared object file: No such file or directory".
The installation of qt5_snapshot is okay and the path to the lib-folder works, (because i don't get the "/opt/qt50-snapshot/lib/libQtQuick.so.5" error). In the lib-folder of "/opt/qt50-snapshot/" i can't find a libQtXmlPattern* or somethink like this).I tried to extract the libs from the qt5 sd-card image and save them in /opt/qt5_extract/lib. (In this folder, the libQtXmlPatterns.so.5 exist) I add the new folder to the ldconfig and use ldconfig to update. But this doesn't fix my problem, i got the same error message again. If i use the ldd-tool with libQtXmlPatterns.so.5, i get only a "not a dynamic executable". The libs in "/opt/qt50-snapshot" are dynamic (the ldd does print a lot of stuff), so i think, this is the problem, with the extracted libs.
If i want to use the qt sd-card image, i don't get any output. (I can use actually only a composite/S-Video output, i don't know if this output is active in the sd-card image... In the next days, i should get my HDMI-Cable...)
Can anybody help me? Where can i get the libs?
-
Hello Zeph,
I just got started on my Rasp yesterday and I'm currently stuck with the same issues. It seems there is a mismatch between the release included with QtOnPi from the raspberry website and qt50-snapshot. Also, the current release of qtonpi does not boot on my 512mb pi. I think the best bet will be to setup and compile your own toolchain against the latest raspbian build.
I will keep you updated with my progress.
-
I've tried qtonpi too. But with same problems. So I decided to crosscompile qt5 and use wheezy intead qtonpi (to keep Pi updated).
Check this "thread":http://qt-project.org/forums/viewthread/21114