'QT on Raspberry Pi 4

I have a Raspberry Pi 4 Model B Rev 1.4 and I am using Ubuntu 20.04 running in VirtualBox on a Windows 10 machine.

I have been following the steps presented in this video https://www.youtube.com/watch?v=TmtN3Rmx9Rk&list=PLXAxzIhirYJGp1dMN0SxMRNCumubmpzWj&index=2&t=1686s. The goal is to run QT C++ applications on the Raspberry Pi

@24.20, the presenter issues the command:

rsync -avz --rsync-path="sudo rsync" [email protected]:/lib sysroot

His host machine receives a number of files. On the video I can see the contents of lib/firmware, lib/modules.bak, lib/modules, lib/udev

However, when I issue the same command, I only receive a symbolic link

receiving incremental file list
lib -> usr/lib

BTW, a symbolic link is also what I see on the RPi

lrwxrwxrwx   1 root root     7 May  7  2021 bin -> usr/bin 

I tried adding the option --copy-links. It allows me to copy the files, but the usr/bin directory is about 3GB and it seems to have a many more folders (for instance chromium-browser) when compared to what I saw in the video

Why the discrepancy? Did I miss an initial setup step, maybe? Any advice?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source