3519Hisidv500的QT配置

一、下载相应ubuntu(密码123456789)

1、下载

通过网盘分享的文件:QT Hisilicon Ubuntu 18.7z

链接: https://pan.baidu.com/s/1AIYPC5IRXzy14UETVDl41A?pwd=2kgs 提取码: 2kgs

--来自百度网盘超级会员v4的分享

2、在VM上运行

二、QT的选择与下载(qt-everywhere-src-5.12.9.tar.xz)

1、下载

通过网盘分享的文件:qt移植到arm板子需要的资料

链接: https://pan.baidu.com/s/16mBOCxrXD8sADikICmeXNQ?pwd=d5dp 提取码: d5dp

--来自百度网盘超级会员v4的分享

2、把本次用的资料放进ubuntu内

3、解压文件

三、创建海思的qmake.conf

复制代码
cp /qt-everywhere-src-5.12.9/qtbase/mkspecs/linux-arm-gnueabi-g++/ /qt-everywhere-src-5.12.9/qtbase/mkspecs/arm-hisix500-linux-g++ -rf
vi /qt-everywhere-src-5.12.9/qtbase/mkspecs/arm-hisix200-linux-g++/qmake.con

qmake.conf内容修改如下:

复制代码
linux-arm-gnueabi-g++改成arm-hisix500-linux-g++

三、开始编译

复制代码
./configure \
-prefix ../qt5.12.9_hi3519dv500 \    //make install后保存在的文件夹
-opensource \
-confirm-license \
-release \
-strip \
-no-eglfs \
-linuxfb \
-qt-zlib \
-no-gif \
-qt-libpng \
-qt-libjpeg \
-qt-freetype \
-no-rpath \
-no-pch \
-no-avx \
-no-openssl \
-no-cups \
-no-dbus \
-no-pkg-config \
-no-glib \
-no-iconv \
-xplatform arm-hisix500-linux-g++ \      //使用的工具
-no-opengl \
-nomake examples \
-nomake tools \
-no-sqlite \
-skip qtgamepad \
-skip qtandroidextras \
-skip qtmacextras \
-skip qtx11extras \
-skip qtsensors \
-skip qtserialbus \
-skip qtserialport \
-skip qtwebengine \
-skip qtwebchannel \
-skip qtwebsockets \
-skip qtlocation \
-skip qtquickcontrols \
-skip qtpurchasing \
-skip qtconnectivity \
-skip qtscxml \
-skip qtxmlpatterns \
-skip qtnetworkauth \
-skip qtspeech \
-skip qtscript \
-skip qtremoteobjects \
-skip qtcharts \
-skip qtdatavis3d \
-skip qtwebview

make

make install

四、配置QTCreator

1、下载QTCeator安装包

2、配置环境

①C++

工具链:/opt/linux/x86-arm/aarch64-v01c01-linux-gnu-gcc/bin/aarch64-linux-gnu-gcc

make在/usr/bin/make /usr/share/man/man1/make.1.gz

②C++

工具链:/opt/linux/x86-arm/aarch64-v01c01-linux-gnu-gcc/bin/aarch64-linux-gnu-g++

make在/usr/bin/make

相关推荐
陳103021 小时前
C++:红黑树
开发语言·c++
一切尽在,你来21 小时前
C++ 零基础教程 - 第 6 讲 常用运算符教程
开发语言·c++
泉-java21 小时前
第56条:为所有导出的API元素编写文档注释 《Effective Java》
java·开发语言
weixin_4997715521 小时前
C++中的组合模式
开发语言·c++·算法
初级代码游戏21 小时前
套路化编程 C# winform 自适应缩放布局
开发语言·c#·winform·自动布局·自动缩放
_waylau21 小时前
鸿蒙架构师修炼之道-架构师的职责是什么?
开发语言·华为·harmonyos·鸿蒙
2的n次方_1 天前
CANN Ascend C 编程语言深度解析:异构并行架构、显式存储层级与指令级精细化控制机制
c语言·开发语言·架构
java干货1 天前
为什么 “File 10“ 排在 “File 2“ 前面?解决文件名排序的终极算法:自然排序
开发语言·python·算法
_F_y1 天前
C语言重点知识总结(含KMP详细讲解)
c语言·开发语言
毕设源码-郭学长1 天前
【开题答辩全过程】以 基于python的二手房数据分析与可视化为例,包含答辩的问题和答案
开发语言·python·数据分析