通过pyqtdeploy和QT5部署PyQt5应用到Android [英] Deploying PyQt5 application to Android via pyqtdeploy and Qt5

查看:9312
本文介绍了通过pyqtdeploy和QT5部署PyQt5应用到Android的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这可能吗?我的意思是,是的, pyqtdeploy 介绍页面表示:pyqtdeploy是部署PyQt的应用程序的工具它支持部署到桌面平台(Linux,Windows和OS / X)和移动平台(iOS版,Android和Windows RT)。

Is it possible? I mean, yeah, pyqtdeploy intro page said: "pyqtdeploy is a tool for deploying PyQt applications. It supports deployment to desktop platforms (Linux, Windows and OS/X) and to mobile platforms (iOS, Android and Windows RT)."

我已经安装的Qt 5.3.0 Android和它所有的prerequisites(SDK,NDK等)。此外,我做的测试项目与简单的按钮和标签的QtCreator进行测试部署。一切安好。下一步试图pyqtdeploy制作Qt项目,pretty简单。但是,当我试图打造这个项目,连接器说,没有QtCore,QtWidget库。我所认识它,我没有静态链接库PyQt的,他们必须被编译为ARM架构。这样对吗?但后来我意识到,Python库本身也必须胳膊编译。我可以从源代码编译这个图书馆的Qt?

I've installed Qt 5.3.0 for Android and all it's prerequisites (SDK, NDK, etc.). Also I made test project with simple button and label in QtCreator for testing deployment. Everything is fine. Next step was trying pyqtdeploy for making Qt project, pretty simple. But when I'm trying to build this project, linker said that there is no QtCore, QtWidget libraries. As I can recognize it, I've no static-linked PyQt libraries and that they must be compiled for arm architecture. Is it right? But then I've realised, that python library itself also must be arm compiled. And can I build this libraries from source in Qt?

搜索也没做。如果这是真的,为什么没人(江岸,蟒蛇)对手臂没有编译库?
也许我missunderstood东西。在这种情况下,我得到了更多的全球性问题。

Search did nothing. If this is true, why no one (riverbank, python) have no compiled libraries for arm? Maybe I'm missunderstood something. In this case I got more global question.

如何部署PyQt5.3的Python 3.4的应用程序与pyqtdeploy和Qt 5.3.0为Android到Android?

How to deploy PyQt5.3 Python 3.4 application to Android with pyqtdeploy and Qt 5.3.0 for Android?

推荐答案

等待pyqtdeploy的下一个版本,这可能会提供更好的说明,或者交叉编译库。该项目pyqtdeploy正在积极发展。是的,你现在可以用它为Android,但你是你自己的交叉编译许多静态库。

Wait for the next release of pyqtdeploy, which will probably give better instructions or include cross-compiled libraries. The pyqtdeploy project is being actively developed. Yes, you can use it for Android now, but you are on your own for cross-compiling many static libraries.

这篇关于通过pyqtdeploy和QT5部署PyQt5应用到Android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆