I had the same problem (I using archlinux on my rpi3), you need to install qt5-svg and qt5-websockets ...
By the way, Awesome jobs guyz!!! I love to be able to run leonardo in my rpi... Thanks !!!!
Apparently I'm running raspbian so shouldn't it work?
"Distributor ID: Raspbian
Description: Raspbian GNU/Linux 8.0 (jessie)
Release: 8.0
Codename: jessie"
I tried installing as you said but nothing found.... did you install with apt-get?
So first of all, we've been using Raspbian 9, not 8. So if upgrading is an option for you, that might be worth a shot. Apparently it is possible to
upgrade without reinstalling but I haven't tried it personally. If you don't have anything else on that RPi, it might be easier to just use a new image.
Either way, could you paste the exact error message you're seeing? Is it still the "libQt5Svg.so.5: cannot open shared object file" even after doing a sudo apt-get install libqt5svg5? Or is it more something along those lines:
./leonArdo.arm: /usr/lib/arm-linux-gnueabihf/libQt5WebSockets.so.5: version `Qt_5' not found (required by ./leonArdo.arm)
./leonArdo.arm: /usr/lib/arm-linux-gnueabihf/libQt5Network.so.5: version `Qt_5' not found (required by ./leonArdo.arm)
./leonArdo.arm: /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5: version `Qt_5' not found (required by ./leonArdo.arm)
./leonArdo.arm: /usr/lib/arm-linux-gnueabihf/libQt5Gui.so.5: version `Qt_5' not found (required by ./leonArdo.arm)
./leonArdo.arm: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by ./leonArdo.arm)
./leonArdo.arm: /usr/lib/arm-linux-gnueabihf/libQt5Widgets.so.5: version `Qt_5' not found (required by ./leonArdo.arm)
If it's the latter, I'm afraid this can't be fixed by just installing some packages.
[/quote]
Ok thanks, I installed my Rpi over a year ago so that is likely the issue as you say. I have other stuff on there but I haven't used it for that for a while so I can start again with that. I will look into this. thanks.