社区
Qt
帖子详情
请问QT4支持mipsel-linux吗?
shootingstars
2010-12-14 02:42:33
我在Linux下交叉编译MIPS,提示not supported
请问在Linux下是采用如下编译方式吗?
./configure -embedded mipsel
谢谢各位大侠。
...全文
111
4
打赏
收藏
请问QT4支持mipsel-linux吗?
我在Linux下交叉编译MIPS,提示not supported 请问在Linux下是采用如下编译方式吗? ./configure -embedded mipsel 谢谢各位大侠。
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
4 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
车太靓
2010-12-17
打赏
举报
回复
支持的,自己需要设置,按照楼上方法!
pony
2010-12-17
打赏
举报
回复
首先楼主好像写错了吧,应该是./configure -embedded mips。其次./configure后面跟的参数简单说明如下:
-prefix 指定安装路径是
-debug 表示调试版本;
-opensource 表示开源版本;
-embedded mips 指定平台是mips;
-qconfig local 使用细微配置文件qconfig-local.h
-depths 4,8,16,32 指定美像素的位数
在./configure之前最好要设置QT的环境变量。
cd到所在的QT包目录,
执行以下语句
# export QTEDIR=$PWD
# export QTDIR=$QTEDIR
# export LD_LIBRARY_PATH=$QTEDIR/lib:$LD_LIBRARY_PATH
# export PATH=$QTEDIR/bin:$PATH
然后
# ./configure -debug -opensource -embedded mips -qconfig local -depths 4,8,16,32 -qt-mouse-linuxtp
#make
#make install
Askeyes
2010-12-16
打赏
举报
回复
这个肯定是可以的,要运行在mips-linux,那么改一下交叉编译器就可以了。
首先安装mips的交叉编译器,并设置环境变量。
然后在qt目录下config:
./configure -v \
-prefix ~/CQTLib/emb/ \
-shared \
-release \
-embedded mips \
-xplatform qws/linux-mips-g++ \
-depths 16,18,24 \
-fast \
-optimized-qmake \
-pch \
-qt-sql-sqlite \
-qt-zlib \
-qt-libpng \
-qt-libjpeg \
-little-endian -host-little-endian \
-no-qt3support \
-no-libtiff -no-libmng \
-no-opengl \
-no-mmx -no-sse -no-sse2 \
-no-3dnow \
-no-openssl \
-no-qvfb \
-no-phonon \
-no-nis \
-no-cups \
-no-glib \
-no-xcursor -no-xfixes -no-xrandr -no-xrender \
-no-separate-debug-info
最后就是make了
yanchong
2010-12-15
打赏
举报
回复
具体的没有做过,不过你可以看看configure 文件里有没有你这个选项
qt安装过程和知识
这是一个qt安装过程和qt的一些知识配置系统允许添加特定平台选项,但一般有framebuffer
支持
的所有
Linux
系统都可以使用
linux
-generic-g++ 平台。配置系统也
支持
交叉编译器,如果想在
Linux
/86上为
Linux
/
MIPS
EL
目标编译...
mips
el
交叉编译qt5.8以及编译文件
gcc为:
mips
el
-openwrt-
linux
-gcc g++为:
mips
el
-openwrt-
linux
-g++ 1、测试环境为Ubuntu14.04 x64,建议在该环境中编译和使用。 2、下载qt-everywhere-opensource-src-5.8.0.tar.gz源码包,参考地址为ht...
mips
el
-
linux
-uclibc交叉编译vlc -1
checking whether the
mips
el
-
linux
-uclibc-gcc -std=gnu99 linker (
mips
el
-
linux
-uclibc-ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic ...
linux
gcc编译内核模块,模块编译问题
mips
el
-
linux
-uclibc-gcc: unrecognized option `-
EL
'
[root@rw stb
linux
-2.6.12-5.0]# find -type f|xargs grep -n "r4600"./arch/
mips
/Makefile:179: $(call set_gccflags,r4100,
mips
3,r4600,
mips
3,
mips
2) \./arch/
mips
/Makefile:183: ...
mips
el
-
linux
- 交叉编译qt-everywhere-opensource-4.6.0总结
1.修改文件: /mkspecs/qws/
linux
-arm-g++/qmake.conf # 设置交叉编译工具链: # 本项目使用的交叉编译工具是 arm-none-
linux
-gnueabi-g++ # QMAKE_CC = arm-none-
linux
-gnueabi-gcc QMAKE_CXX
Qt
16,224
社区成员
26,592
社区内容
发帖
与我相关
我的任务
Qt
Qt 是一个跨平台应用程序框架。通过使用 Qt,您可以一次性开发应用程序和用户界面,然后将其部署到多个桌面和嵌入式操作系统,而无需重复编写源代码。
复制链接
扫一扫
分享
社区描述
Qt 是一个跨平台应用程序框架。通过使用 Qt,您可以一次性开发应用程序和用户界面,然后将其部署到多个桌面和嵌入式操作系统,而无需重复编写源代码。
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章