我很困惑。我无法编译apk应用程序。这就是我所做的:
使用此图片安装Qt(我知道它相当陈旧,我会更新 它很快):
QT - 窗口开源-5.1.1-机器人86 Win32的offline.exe
下载Android SDK和NDK并添加到选项>的Android
现在有一个奇怪的警告,没有apk输出:
缺少架构mips,arm,x86的Qt版本。添加 Qt版本,选择选项>建设与发展运行> Qt版本。
这就是Build&运行页面:
更新
我按照这些步骤完成了构建过程。但是出现了一些错误:
10:47:21: Running steps for project Quick_test...
10:47:21: Configuration unchanged, skipping qmake step.
10:47:21: Starting: "C:\Qt\Qt5.3.0\Tools\mingw482_32\bin\mingw32-make.exe"
mingw32-make: Nothing to be done for 'first'.
10:47:24: The process "C:\Qt\Qt5.3.0\Tools\mingw482_32\bin\mingw32-make.exe" exited normally.
10:47:24: Starting: "C:\Qt\Qt5.3.0\Tools\mingw482_32\bin\mingw32-make.exe" INSTALL_ROOT="C:\Users\rosta\Documents\Qt Projects\build-Quick_test-Android_for_armeabi_v7a_GCC_4_9_Qt_5_3_0-Release\android-build" install
The system cannot find the path specified.
The system cannot find the path specified.
Makefile:773: recipe for target 'install_target' failed
mingw32-make: *** [install_target] Error 1
10:47:27: The process "C:\Qt\Qt5.3.0\Tools\mingw482_32\bin\mingw32-make.exe" exited with code 2.
Error while building/deploying project Quick_test (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.3.0))
When executing step 'Copy application data'
10:47:27: Elapsed time: ۰:۰۰:۰۶.