您的位置:首页 > 运维架构 > Linux

嵌入式linux QT环境搭建配置命令

2017-09-15 15:09 344 查看
目标板为mips架构,虚拟机ubuntu下qt软件安装方法:

1.qt源码文件夹qws/linux-mips-g++ 中更改为本机mips交叉编译器工具

2.

./configure \

-prefix /usr/local/qt-mipsel-4.8.6 \

-opensource \

-confirm-license \

-release -shared \

-embedded mips \

-xplatform qws/linux-mips-g++ \

-depths 16,18,24 \

-fast \

-optimized-qmake \

-pch \

-qt-sql-sqlite \

-qt-libjpeg \

-qt-zlib \

-qt-libpng \

-qt-freetype \

-little-endian -host-little-endian \

-no-qt3support \

-no-libtiff -no-libmng \

-no-opengl \

-no-mmx -no-sse -no-sse2 \

-no-3dnow \

-no-openssl \

-no-webkit \

-no-qvfb \

-no-phonon \

-no-nis \

-no-opengl \

-no-cups \

-no-glib \

-no-xcursor -no-xfixes -no-xrandr -no-xrender \

-no-separate-debug-info \

-nomake examples -nomake tools -nomake docs
-qt-mouse-tslib -I/usr/local/tslib/include -L/usr/local/tslib/lib

3.

make 

make install
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: