Error while loading shared libraries during cross-compiling
Solved
QtonPi
-
wrote on 23 Aug 2016, 13:37 last edited by
Well if I add this in my *.pro file:
QT += core
I have error when I try cross-compiling:
error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory
Anyone knows the solution? Maybe I must installing some library in rpi?
-
Hi,
Did you cross-compile Qt ?
-
wrote on 24 Aug 2016, 08:23 last edited by feniks_fire
I not very understand what you mean.
I think the raspberry don't have the library, maybe install qt in raspberry would help? -
wrote on 24 Aug 2016, 18:09 last edited by
Yeah, I have right. I copy all Qt library to RPI and use this in rpi terminal:
export LD_LIBRARY_PATH="/home/pi/QtBase-5.7.0/lib" ./Test
and everything work.
Tomorrow I'll try just install qt in rpi, and this should work without terminal.
Another topic solved.
1/4