Qt for Android Developing

phoenixlzx | 2012/09/13

从NJLUG列表里得到的消息,然后去网站上看了一下视频,目测还不错,不过项目还不成熟,连AUR里都木得这个包。

具体可以看这篇文章:http://labs.qt.nokia.com/2011/02/28/necessitas/  里面有一段介绍的视频——不过里面还是发现了Java(?)——而且确实也是需要安装Android SDK 和 NDK的。

项目主页在这里:http://sourceforge.net/p/necessitas/home/necessitas/ 里面提供了Linux/Macintosh/Windows三个平台的SDK的下载(Online安装包),Linux下下载好了之后直接

~> chmod +x necessitas-0.3-online-sdk-installer-linux
~> ./necessitas-0.3-online-sdk-installer-linux

即可。如果提示某个so找不到的话Arch下可以通过pkgfile来查找属于哪个包,其他发行办应该也有查找的办法。

这样就可以通过Qt框架来编写Android App了。

当然编写出来的程序不能直接运行,Android手机上必须安装有 Ministro (下载:http://sourceforge.net/projects/ministro.necessitas.p/files/)来自动下载Qt库。至于具体到开发步骤上面的视频里有,我就不罗嗦啦。

2 FEEDBACKS

Leave a Reply to 右京样一 Cancel reply

Your email address will not be published. Required fields are marked *

Note: Commenter is allowed to use '@User+blank' to automatically notify your reply to other commenter. e.g, if ABC is one of commenter of this post, then write '@ABC '(exclude ') will automatically send your comment to ABC. Using '@all ' to notify all previous commenters. Be sure that the value of User should exactly match with commenter's name (case sensitive).

This site uses Akismet to reduce spam. Learn how your comment data is processed.