Because I had the same Issues with the same Tutorial and often came along this discussion while searching for possible solutions, I took the privilege to dig up this old thread. With the help of What would be a pratical example of sysroot and prefix options for Qt and especially the mentioned option,
quote:"
-no-gcc-sysroot
very specific hack for compilers that can't find their own crt inside --sysroot
passes sysroot to pkgconfig and others, but not to gcc
so that gcc will be called with -L/sysroot/lib/ correctly, but doesn't try to find implicit paths (crt) here.
", I was able to fix the problem.