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

相关推荐
Wenweno0o21 小时前
0基础Go语言Eino框架智能体实战-chatModel
开发语言·后端·golang
chenjingming6661 天前
jmeter线程组设置以及串行和并行设置
java·开发语言·jmeter
cch89181 天前
Python主流框架全解析
开发语言·python
不爱吃炸鸡柳1 天前
C++ STL list 超详细解析:从接口使用到模拟实现
开发语言·c++·list
十五年专注C++开发1 天前
RTTR: 一款MIT 协议开源的 C++ 运行时反射库
开发语言·c++·反射
Momentary_SixthSense1 天前
设计模式之工厂模式
java·开发语言·设计模式
‎ദ്ദിᵔ.˛.ᵔ₎1 天前
STL 栈 队列
开发语言·c++
勿忘,瞬间1 天前
数据结构—顺序表
java·开发语言
张張4081 天前
(域格)环境搭建和编译
c语言·开发语言·python·ai
weixin_423533991 天前
【Windows11离线安装anaconda、python、vscode】
开发语言·vscode·python