When I scan the Qt5.9.2 project , i had meet a error :
/opt/Qt5.9.2/5.9.2/gcc_64/include/QtCore/qglobal.h:1135:4: error: "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)."
# error "You must build your code with position independent code if Qt was built with -reduce-relocations. "\
how can i resolve it?thanks a lot!