Hi Nikos! This is no qt bug, you need to use just -fPIC, avoiding -fPIE. Please note that there is no security reduction here as -fPIC implies -fPIE.
Happy hacking!
--
Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/