-fPIC is needed because of the way the qt libraries are built for Debian.
From the build error message:
You must build your code with position independent code if Qt was built with -reduce-relocations. " "Compile your code with -fPIC (-fPIE is not enough)
."
-fPIC
is needed because of the way the qt libraries are built for Debian.From the build error message: