I advice to drop cross compilation and do it natively especcially with a complex application like Qt. My personal experience is that it works for smaller stand alone binaries but for I always ended in a similar situation wasting lot of time trying cross compilation. I'm building kernel, gcc, glibc, ... on RPi 3/4, It is fast enough and safe.