You're mixing rtti and non-rtti code. When compiling for Qt/Embedded make sure to add
-fno-rtti to the CXXFLAGS and LDFLAGS. Make sure not leave those out when compiling for
Qt/X11 . Ah, and also make sure when compiling for QT/Embedded to add a -DQWS to your
CXXFLAGS (it's missing above there aswell), that solves the x11Event errors. (the rtti
thingy fixes the type_info errors)