Qt5.2中的android环境搭建
来源:互联网 发布:淘宝代销是什么意思 编辑:程序博客网 时间:2024/06/10 04:26
今天QT5.2的beta版出来了,从其描述文档来看,支持了android,特地下来试试。
New Modules and Nice Goodies
Some of the main new features of Qt 5.2include:
Qt Bluetooth: supported on Linux with Bluez4.x and Blackberry
Qt NFC: supported on Blackberry
Qt Positioning: supported on all platformsusing NMEA data, and using GeoClue on Linux
Qt Windows Extras: Integrate with nativecode on Windows
Qt Mac Extras: Integrate with native codeon Mac OS X
Qt Android Extras: Integrate with nativecode on Android
Improved time zone and locale support withQTimeZone and QCollator
Enhancements to multiple Qt Widgets and anew one, the QKeySequenceEdit class
Animations for QML that can not be blockedby high loads on the main thread
Some new features and mobile specificcontrols for Qt Quick Controls
Accessibility is now fully supported on alldesktop platforms and basic support on Android.
For a more detailed list of all newfeatures in Qt 5.2 please have a look at the New Features page in the QtProject wiki.
下载安装Qt5.2
http://download.qt-project.org/development_releases/qt/5.2/5.2.0-beta1/
下载安装android SDK
http://developer.android.com/sdk/index.html
下载安装 android NDK
http://developer.android.com/tools/sdk/ndk/index.html
下载安装 apache ant
http://ant.apache.org/
下载安装JDK
http://www.oracle.com/technetwork/java/javase/downloads/index.html
打开Qt Creator,选择工具-选项-android,配置好刚刚安装的文件路径,并点击【启动android AVD管理器】
点击 New 新建一个android模拟器,根据自己需要选择Device
点击ok,并选择刚刚建立的设备,点击Start启动,此过程比较慢,耐心等待。
重启Qt Creator 已经可以看到有设备了,我们检查构建和运行中构建套件和Qt版本是否正确,确认无误接下来就可以建立工程
新建一个Qt gui项目,选择android for arm
或者将以前的工程修改为android的工程:
项目->添加构建套件->选择合适的编译工具
编译完成之后,点击运行,选择刚刚建立好的avd,等待许久,就可以在模拟器中看到程序的运行效果(非常漫长的等待)。
- Qt5.2中的android环境搭建
- Qt5.2中的android环境搭建
- Qt5.2中的android环境搭建
- QT5.2 android环境搭建链接
- QT5.7 搭建android环境
- VS2010+Qt5.2环境搭建
- windows下Qt5.2 for android开发环境搭建
- Qt5.1.1 for android 环境搭建
- Windows下Qt5搭建Android开发环境
- Qt5.10 搭建 Android 开发环境
- QT5.2 Android开发环境
- VS2012+Qt5.2交叉编译环境搭建
- VS2012+Qt5.2交叉编译环境搭建
- VS2012+Qt5.2交叉编译环境搭建
- Qt5.1.1环境搭建
- Qt5环境搭建
- 搭建Qt5.1.0Beta的Android开发环境
- 搭建Qt5.1.0Beta的Android开发环境
- C#调用C/C++编译的DLL失败的一种情…
- "ios模拟器未能安装此应用程序"解决办法
- win8系统下应用图标变白的解决方案
- C#结构体和指针转换
- Oracle中nvl函数的用法
- Qt5.2中的android环境搭建
- ADF实现文件上传
- Android 系列:下载远程物理文件
- LruCache图片缓存技术应用(图片浏览器)
- Leedcode 删除重复数组元素问题。
- C# 打印word文件
- Android 核心分析 之六 IPC框架分析 Binder,Service,Service manager
- KSM(Kernel Samepage Merging) 剖析:Linux 内核中的内存去耦合
- 一步步学习SPD2010--第十章节--SP网站品牌化(11)--使用CSS报表