在Android上安装使用Qt

编程入门 行业动态 更新时间:2024-10-10 21:33:06
本文介绍了在Android上安装使用Qt的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我试图安装的Qt 5.1为Android,我使用这里描述的步骤:的http:// QT -project/wiki/Qt5ForAndroidBuilding

I am trying to install Qt 5.1 for Android, I am using steps described here: qt-project/wiki/Qt5ForAndroidBuilding

我安装了所有的prerequisites(JDK,Android的SDK,NDK等)。我的问题是与第4步,我无法从混帐回购协议下载的Qt 5(的git://gitorious/qt/qt5.git )。

I installed all the prerequisites (JDK, Android SDK, NDK, etc.). My problem is with step 4, I cannot download Qt 5 from the git repo (git://gitorious/qt/qt5.git).

有人来过遇到同样的问题?

Has somebody encountered the same problem?

我又过了5的Qt为Android直接从 qt-project/downloads 但它不会建立。当我使用步骤4.4(配置 - ...... )我得到了该系统找不到指定的文件:arch.cpp和arch.obj 错误。

I took another Qt 5 for Android directly from qt-project/downloads but it would not build. When I use step 4.4 (configure -....) I got the The system cannot find the file specified: arch.cpp and arch.obj error.

如果你有一个链接或东西,西港岛线帮我装Qt和部署一个应用程序到Android,请分享。

If you have a link or something that wil help me install Qt and deploy an app to Android please share.

推荐答案

您已经下载的QT项目Qt的Andr​​oid版本已经内置。你并不需要建立的Qt为Android,而建立与Qt的为Android。你只需要配置Qt Creator中定义的SDK和NDK迪尔斯。按照这个文档: qt-project/doc /qtcreator-2.8/creator-developing-android.html (主页:的 qt-project/doc/qt-5.1/qtdoc/android-support.html )

The Qt Android version that you have download on qt-project is already built. You don't need to build Qt for Android, but build with Qt for Android. You just need to config Qt Creator to define SDK and NDK dirs. Follow this doc : qt-project/doc/qtcreator-2.8/creator-developing-android.html (main page : qt-project/doc/qt-5.1/qtdoc/android-support.html)

更多推荐

在Android上安装使用Qt

本文发布于:2023-11-27 11:37:42,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1637901.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Android   Qt

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!