当前位置:网站首页>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
边栏推荐
- JVM运行时数据区与JMM内存模型是什么
- 483-82(23、239、450、113)
- LeetCode 0151.颠倒字符串中的单词
- Leetcode72. Edit Distance
- 屏:全贴合工艺之GFF、OGS、Oncell、Incell
- What is the JVM runtime data area and the JMM memory model
- ACID Characteristics and Implementation Methods of MySQL Relational Database Transactions
- Shell script topic (07): file from cfs to bos
- opencv如何实现图像倾斜校正
- GZIPOutputStream 类源码分析
猜你喜欢

opencv如何实现图像倾斜校正
![[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)

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

GZIPOutputStream 类源码分析

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

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

Leetcode72. 编辑距离

Screen: GFF, OGS, Oncell, Incell of full lamination process

30分钟成为Contributor|如何多方位参与OpenHarmony开源贡献?

7月30号|来一场手把手助您打造智能视觉新爆款的技术动手实验
随机推荐
How many steps does it take to convert an ENS domain name into music?
Redis的内存淘汰策略和过期删除策略的区别是什么
行业沙龙第二期丨如何通过供应链数字化业务协同,赋能化工企业降本增效?
B005 - STC8 based single chip microcomputer intelligent street light control system
C#/VB.NET Extract table from PDF
Become a Contributor in 30 minutes | How to participate in OpenHarmony's open source contributions in multiple ways?
AntDB数据库亮相24届高速展,助力智慧高速创新应用
【神经网络】一文带你轻松解析神经网络(附实例恶搞女友)
Leetcode74. Search 2D Matrix
ClassID的计算中,&表示啥意思
Website construction process
kubernetes-部署nfs存储类
[pyqt5] Custom controls to achieve scaling sub-controls that maintain the aspect ratio
将ENS域名转化为音乐需要几步?
Multi-Party Threshold Private Set Intersection with Sublinear Communication-2021:解读
explain each field introduction
1065 A+B and C (64bit)
MySQL关系型数据库事务的ACID特性与实现方法
7月30号|来一场手把手助您打造智能视觉新爆款的技术动手实验
MySQL中超键、主键及候选键的区别是什么