当前位置:网站首页>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
边栏推荐
- mysql函数的作用有哪些
- MySQL数据库————流程控制
- Screenshot of Selenium in Remote
- C#/VB.NET 从PDF中提取表格
- Use of message template placeholders
- Hardware Bear Original Collection (Updated 2022/07)
- No need to crack, install Visual Studio 2013 Community Edition on the official website
- modbus总线模块DAM-8082
- 如何让固定点的监控设备在EasyCVR平台GIS电子地图上显示地理位置?
- 塔防海岸线用户协议
猜你喜欢

Hardware Bear Original Collection (Updated 2022/07)

Website construction process

LeetCode 0152. 乘积最大子数组:dp + 原地滚动

Keras deep learning practice - traffic sign recognition

PanGu-Coder:函数级的代码生成模型
![[pyqt5] Custom controls to achieve scaling sub-controls that maintain the aspect ratio](/img/99/34f223614449fcee8e9322dff2e839.png)
[pyqt5] Custom controls to achieve scaling sub-controls that maintain the aspect ratio

亚马逊云科技Build On2022技能提升计划第二季——揭秘出海爆款新物种背后的黑科技

A simple Flask PIN

面试必问的HashCode技术内幕

首篇 NLP 领域图神经网络综述:127 页,从图构建到实际应用面面观
随机推荐
AntDB database appeared in the 24th high-speed exhibition, helping smart high-speed innovative applications
Leetcode72. Edit Distance
安徽建筑大学&杭州电子科技大学|基于机器学习方法的建筑可再生能源优化控制
在全志V853开发板试编译QT测试
2022,程序员应该如何找工作
Screenshot of Selenium in Remote
1065 A+B and C (64bit)
在表格数据上,为什么基于树的模型仍然优于深度学习?
Selenium在远程中的截图
What is the implementation principle of Go iota keyword and enumeration type
三种方案解决:npm WARN config global --global, --local are deprecated. Use --location=global instead.
Leetcode71. 简化路径
腾讯云主机安全 x 轻量应用服务器|强强联合主机安全普惠版重磅发布
Detailed explanation of DBPack SQL Tracing function and data encryption function
How to solve the dynamic binding of el-form-item prop attribute does not take effect
TestNG multiple xml for automated testing
C#/VB.NET: extracted from the PDF document all form
SQL函数 TO_DATE(一)
电商库存系统的防超卖和高并发扣减方案
The life cycle and scope