最好编译三个平台方便测试:x86、x86 embedded和arm
嵌入式Qt必须的两个参数:-embedded arm(x86) -xplatform qws/linux-arm-g++(qws/linux-x86-g++)
触屏参数:-qt-mouse-tslib -I/tslib-1.4/include -L/tslib-1.4/lib (库需要自行编译)
编译arm版本时,提示undefined reference to `__sync_sub_and_fetch_4'错误,参考:http://blog.csdn.net/wangmingape/article/details/24545775#reply
在qt-everywhere-opensource-src-4.8.6/src/3rdparty/webkit/Source/WebKit/qt/Makefile.WebKit.QtWebKit中的libs项添加:-Larm/.libs -llinux-atomic
编译webkit时,出现Project MESSAGE: Disabling video due the lack of GLib/Gio/GStreamer等与GStreamer相关的错误,此时需要安装相关的dev包,如:libgstreamer-plugins-base0.10-dev、libgstreamer0.10-dev