交叉编译时,需使用如下红色参数:
./configure --prefix=/opt/qt4.8.6 -opensource -confirm-license -qt-sql-sqlite -qt-gfx-linuxfb -plugin-sql-sqlit -no-qt3support -no-phonon -no-svg -no-webkit -no-javascript-jit -no-script -no-scripttools -no-declarative -no-declarative-debug -qt-zlib -no-gif -qt-libtiff -qt-libpng -no-libmng -qt-libjpeg -no-rpath -no-pch -no-3dnow -no-avx -no-neon -no-openssl -no-nis -no-cups -no-dbus -embedded arm -platform linux-g++ -xplatform qws/linux-hisi3531nptl-g++ -little-endian -qt-freetype -no-opengl -no-glib -nomake demos -nomake examples -nomake docs -nomake tools -plugin-mouse-tslib -

这篇博客介绍了如何针对嵌入式设备,特别是arm架构,进行Qt 4.8.6的交叉编译。在配置过程中,详细列出了必要的参数,包括选择SQLite数据库支持、Linux帧缓冲设备、不包含某些模块如Qt3Support、Phonon等,并且特别强调了触屏支持,通过启用-plugin-mouse-tslib和-qt-mouse-tslib选项来实现。
最低0.47元/天 解锁文章
1425

被折叠的 条评论
为什么被折叠?



