: 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 (是不是说要-rtti,我也是这样作的)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)
*************** is rtti enabled by default? 我认为在linux里面不是默认打开的,因为我的编译qt/e2。3。10的记录里面显示: -no-rtti QT/E编译的时候已经自动加上了-DQWS 即 SYSCONF_CXXFLAGS = -pipe -DQWS -fno-exceptions -fno-rtti -g -Wall -W