QT5.12.0安卓平台搭建(完美运行)

QT5.12.0安卓平台搭建(完美运行),第1张

概述一直用QT5.5.1,周末无事,升级到5.14,发现各版本的NDK都无法完美运行,有换成5.9,还是各种出错最后发现,QT版本与NDK版本有兼容问题,具体原因未知,只能按网上大神的推荐去摸索安装使用完美运行并编译出APK文件的版本如下:1.NDK下载:android-ndk-r19c-windows-x86_64.ziphttps://dl.google.

一直用QT5.5.1,周末无事,升级到5.14,发现各版本的NDK都无法完美运行,有换成5.9,还是各种出错

最后发现,QT版本与NDK版本有兼容问题,具体原因未知,只能按网上大神的推荐去摸索安装使用

完美运行并编译出APK文件的版本如下:

1.NDK下载:androID-ndk-r19c-windows-x86_64.zip

https://dl.google.com/android/repository/android-ndk-r19c-windows-x86_64.zip

测试后发现,r18和R19能完美匹配qt5.12.0

https://dl.google.com/android/repository/android-ndk-r18b-windows-x86_64.zip

 

NDK各版本下载地址如下

历史版本:

https://dl.google.com/android/repository/android-ndk-r20b-windows-x86.zip

https://dl.google.com/android/repository/android-ndk-r20b-windows-x86_64.zip

https://dl.google.com/android/repository/android-ndk-r20b-darwin-x86_64.zip

https://dl.google.com/android/repository/android-ndk-r20b-linux-x86_64.zip

https://dl.google.com/android/repository/android-ndk-r19c-windows-x86.zip

https://dl.google.com/android/repository/android-ndk-r19c-windows-x86_64.zip

https://dl.google.com/android/repository/android-ndk-r19c-darwin-x86_64.zip

https://dl.google.com/android/repository/android-ndk-r19c-linux-x86_64.zip

https://dl.google.com/android/repository/android-ndk-r18b-windows-x86.zip

https://dl.google.com/android/repository/android-ndk-r18b-windows-x86_64.zip

https://dl.google.com/android/repository/android-ndk-r18b-darwin-x86_64.zip

https://dl.google.com/android/repository/android-ndk-r18b-linux-x86_64.zip

https://dl.google.com/android/repository/android-ndk-r17c-windows-x86.zip

https://dl.google.com/android/repository/android-ndk-r17c-windows-x86_64.zip

https://dl.google.com/android/repository/android-ndk-r17c-darwin-x86_64.zip

https://dl.google.com/android/repository/android-ndk-r17c-linux-x86_64.zip

https://dl.google.com/android/repository/android-ndk-r16b-windows-x86.zip

https://dl.google.com/android/repository/android-ndk-r16b-windows-x86_64.zip

https://dl.google.com/android/repository/android-ndk-r16b-darwin-x86_64.zip

https://dl.google.com/android/repository/android-ndk-r16b-linux-x86_64.zip

https://dl.google.com/android/repository/android-ndk-r15c-windows-x86.zip

https://dl.google.com/android/repository/android-ndk-r15c-windows-x86_64.zip

https://dl.google.com/android/repository/android-ndk-r15c-darwin-x86_64.zip

https://dl.google.com/android/repository/android-ndk-r15c-linux-x86_64.zip

https://dl.google.com/android/repository/android-ndk-r14b-windows-x86.zip

https://dl.google.com/android/repository/android-ndk-r14b-windows-x86_64.zip

https://dl.google.com/android/repository/android-ndk-r14b-darwin-x86_64.zip

https://dl.google.com/android/repository/android-ndk-r14b-linux-x86_64.zip

https://dl.google.com/android/repository/android-ndk-r13b-windows-x86.zip

https://dl.google.com/android/repository/android-ndk-r13b-windows-x86_64.zip

https://dl.google.com/android/repository/android-ndk-r13b-darwin-x86_64.zip

https://dl.google.com/android/repository/android-ndk-r13b-linux-x86_64.zip

https://dl.google.com/android/repository/android-ndk-r12b-windows-x86.zip

https://dl.google.com/android/repository/android-ndk-r12b-windows-x86_64.zip

https://dl.google.com/android/repository/android-ndk-r12b-darwin-x86_64.zip

https://dl.google.com/android/repository/android-ndk-r12b-linux-x86_64.zip

https://dl.google.com/android/repository/android-ndk-r11c-windows-x86.zip

https://dl.google.com/android/repository/android-ndk-r11c-windows-x86_64.zip

https://dl.google.com/android/repository/android-ndk-r11c-darwin-x86_64.zip

https://dl.google.com/android/repository/android-ndk-r11c-linux-x86_64.zip

https://dl.google.com/android/repository/android-ndk-r10e-windows-x86.zip

https://dl.google.com/android/repository/android-ndk-r10e-windows-x86_64.zip

https://dl.google.com/android/repository/android-ndk-r10e-darwin-x86_64.zip

https://dl.google.com/android/repository/android-ndk-r10e-linux-x86_64.zip

2.SDK下载   androID-sdk_r24.1-windows

http://tools.android-studio.org/index.php/sdk

3.JDK

下载JDK1.8(SDK只支持JDK1.8):亲测JDK-8u191、JDK-8u201、JDK-8u241可以无错运行
https://www.oracle.com/java/technologies/javase-jdk8-downloads.html

4.qt5.12.0

https://iso.mirrors.ustc.edu.cn/qtproject/archive/qt/5.12/5.12.0/qt-opensource-windows-x86-5.12.0.exe

具体配置就不说了。以上版本完美运行,编译不出错。

 

总结

以上是内存溢出为你收集整理的QT5.12.0安卓平台搭建(完美运行)全部内容,希望文章能够帮你解决QT5.12.0安卓平台搭建(完美运行)所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/1053263.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-25
下一篇 2022-05-25

发表评论

登录后才能评论

评论列表(0条)

保存