无法Qt Creator中构建Android APK
我想Qt Creator中3.0.1建立一个Android APK。我已经给出正确的配置的Android SDK,NDK,蚂蚁,JAVA JDK。在所构建构建Android APK一步有一个选项来指定Android编译SDK即目标SDK。我currenty使用API 21,但我没有得到一个选项来那边指定它。
I am trying to build an android APK in Qt Creator 3.0.1 . I have properly given the configured Android SDK, NDK, Ant, Java Jdk. In Build Android APK step under Build there is a option to specify Android Build SDK i.e target SDK. I am currenty using API 21 but it i am not getting an option to specify it over there.
plz帮助我如何能做到这一点。
Plz Help how can i do that.
首先,你应该选择工具>选项>安卓为路径添加到Android NDK和SDK:
First you should select Tools > Options > Android to add paths to the Android NDK and SDK :
另外选中自动创建的Android工具链包选项。
有关配置部署设置,你应该去为项目>构建Android APK>详细信息由于Qt的5.4与QtCreator 3.3.0。要创建APK包,在APK选中捆绑Qt库选项:
For configuring deployment settings you should go to Projects > Build Android APK > Details Since Qt 5.4 along with QtCreator 3.3.0. To create an APK package, select the Bundle Qt libraries in APK option :
您还可以选择创建模板以创建清单文件,设置类似的图标,名称的应用程序设置,...
You can also select Create Templates to create the manifest file to set application settings like icon, name, ...
在previous的Qt和Qt Creator的版本中,你应该去为项目 - >运行 - >部署
In previous versions of Qt and Qt Creator you should go to Projects->Run->Deploy.
我建议你使用Qt和Qt Creator的最新版本为Android开发和部署。
I recommend you to use the latest version of Qt and Qt Creator for Android development and deployment.