libio.h cross compile

I need to cross compile libio.h to enable gpio by direct memory. My app uses Qt4.8 I tried compilling on BBB but

it does not have all the qmake.conf … files. Also tried to include the .a lib from bbb on x86 angstrom cross
compile but could not recognise the symbols. Are there qt dev installs for BBB?