@s.rosi
Try this config,
./configure -confirm-license -prefix /opt/qt_4_8_7 -opensource -nomake examples -nomake tests -xplatform qws/linux-arm-sarath-g++ -platform linux-g++ -shared -embedded arm -sysroot /opt/poky/2.0/sysroots/cortexa8hf-vfp-neon-poky-linux-gnueabi -qt3support -fast -qt-libpng -qt-libjpeg -openssl -openssl-linked -reduce-exports