当前位置:网站首页>Try compiling QT test on Allwinner V853 development board
Try compiling QT test on Allwinner V853 development board
2022-08-01 18:53:00 【51CTO】
Record yourself cross-compilingQT的过程,At present, after experiencing the first time compiling the image,编译这个QTStill relatively quick,Because all the required libraries are installed.
The first is that I need to find where our cross-compiler is installed,This is downloadingTinaIt was still easy to find after that.tina-v853-open/prebuilt/rootfsbuilt/arm/toolchain-sunxi-musl-gcc-830/toolchain/bin
Tina OL jcby Download: qt5.12.6.tar
如上路径.

This is what we usually use,We can add its path to our system's environment,这样在编译QT的时候就比较简单了.
Usually I add it directly/etc/profile下的,That's it after restarting.

敲一下arm-openwrt-linux-gcc -vThis will bring up the above promptOK了.
Next we are ready to compileQTCompile beforetslibThis is more convenient when using a touch screen at the bottom.

这里我选择的1.15版本的,这个都可以,本身TinaIt seems to have been taken when rebuildingtslib.
This section needs to be executed before configuration,This section is to find the library files of the cross compiler,头文件的.

进行配置生成makefile文件.

然后直接make,make结束之后就是make install,This will generate ours in the folder we configuredarm-tslib.

It's actually just for thatQTCross compiling to find the header file library.

然后我们选择一个QT5版本,这里我选择了QT5.12.6.Then create a new folder where the cross-compilation is completed and I will name itarm-qt.After that we generally choose to build a script.

Here I built one called make.sh的.So here we are done soQT的配置工作,具体如下:
The end is to just build and then install.
-xplatform linux-arm-gnueabi-g++
In the middle we pay attention to this configuration,This configuration is to correspond to our cross compiler.


Replace all the contents of the above file with the name of our cross compiler.然后执行脚本即可.


Find out if we agree with itlicense.输入yes即可,If there is no error in the middle, it will be built and installed directly.

Here are some components we configured,You can choose to install it yourself.That is, you can modify the script.

Here is the compilation completed,Waited about half an hour in between,Check your personal virtual machine configuration.

A lot of files are generated under the path,我们放到armThat is on the development boardlib,和pluginsThere are no font files in it yet,可以自己添加.

来到底层,We need to put the file to the bottom layer,Then I actually found that the system I compiled did nottar指令,There is no way we can only be rightSDCard is off,我给sd格式化成ext4Format is supportlinux系统的格式.
我在Ubuntu下安装了gparted工具.Just format the card directly.
This way we can directly mount and then use the library.This purpose is because of some.SoThe file cannot be decompressed.
Then initialize our library path,This will workQT了,效果如下:

QTThe necessary accessories are as follows: qt5.12.6.tar
边栏推荐
- shell脚本专题(07):文件由cfs到bos
- 屏:全贴合工艺之GFF、OGS、Oncell、Incell
- 【LeetCode】Day109-the longest palindrome string
- 请你说说多线程
- Screen: GFF, OGS, Oncell, Incell of full lamination process
- [pyqt5] Custom controls to achieve scaling sub-controls that maintain the aspect ratio
- PanGu-Coder:函数级的代码生成模型
- Zabbix6.0 DingTalk robot alarm
- Zabbix6.0钉钉机器人告警
- How many steps does it take to convert an ENS domain name into music?
猜你喜欢

Prometheus's Recording rules practice
![[Neural Network] This article will take you to easily analyze the neural network (with an example of spoofing your girlfriend)](/img/2c/18ce72dfd0889d901ea0d95721ed19.png)
[Neural Network] This article will take you to easily analyze the neural network (with an example of spoofing your girlfriend)

How many steps does it take to convert an ENS domain name into music?
Detailed explanation of DBPack SQL Tracing function and data encryption function

C#/VB.NET:从 PDF 文档中提取所有表格

在Map传值与对象传值中模糊查询

Leetcode74. Search 2D Matrix

B005 - STC8 based single chip microcomputer intelligent street light control system

在全志V853开发板试编译QT测试

Become a Contributor in 30 minutes | How to participate in OpenHarmony's open source contributions in multiple ways?
随机推荐
ExcelPatternTool: Excel form-database mutual import tool
modbus总线模块DAM-8082
483-82(23、239、450、113)
#yyds干货盘点# 面试必刷TOP101: 链表中倒数最后k个结点
Prometheus的Recording rules实践
C#/VB.NET:从 PDF 文档中提取所有表格
电商库存系统的防超卖和高并发扣减方案
选择合适的 DevOps 工具,从理解 DevOps 开始
在GBase 8c数据库后台,使用什么样的命令来对gtm、dn节点进行主备切换的操作?
LeetCode 0151. Reverse a string of words
483-82 (23, 239, 450, 113)
How opencv implements image skew correction
How many steps does it take to convert an ENS domain name into music?
How to make the fixed-point monitoring equipment display the geographic location on the EasyCVR platform GIS electronic map?
SQL function TO_DATE (2)
explain each field introduction
钳形万用表使用方法,如何测量电压、电流、电阻?
Multi-Party Threshold Private Set Intersection with Sublinear Communication-2021:解读
2022,程序员应该如何找工作
Golang协程调度器scheduler怎么使用