harriev9
2016-08-04 15:53:09 UTC
Hello,
When I compile my program (it is using QT 5.6) then i get an error
message:
/usr/include/QtCore/qglobal.h:1087:4: error: #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)."
Is it possible to compile with -fPIC and if so how do i instruct the
odb compiler to do so?
Greetings,
Harrie Versteden.
When I compile my program (it is using QT 5.6) then i get an error
message:
/usr/include/QtCore/qglobal.h:1087:4: error: #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)."
Is it possible to compile with -fPIC and if so how do i instruct the
odb compiler to do so?
Greetings,
Harrie Versteden.