编译报错: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).
解决方法: 在Edit Configurations------Compiler Options里增加-fPIC
编译报错: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).
解决方法: 在Edit Configurations------Compiler Options里增加-fPIC