Qt的编译Android的:'的mingw32-化妆'不是内部或外部命令 [英] Compiling Qt for Android: 'mingw32-make' is not recognized as an internal or external command

查看:888
本文介绍了Qt的编译Android的:'的mingw32-化妆'不是内部或外部命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图编译的Qt针对Android在Windows上,按照 HTTP的步骤进行://wiki.qt .IO / Android的

I'm trying to compile Qt for Android on Windows, following the steps outlined in http://wiki.qt.io/Android.

当我尝试对其进行配置:

When I try to configure it:

配置-xplatform Android的G ++ -nomake测试-nomake例子-Android-NDK C:\\ Android的NDK-r10d -Android-SDK C:\\ ADT \\ SDK -Android-NDK主机Windows的64位-Android工具链-version 4.8 -skip qttranslations -skip QtWebKit的-skip qtserialport -skip QtWebKit的-例子-no的警告,是-误差

configure -xplatform android-g++ -nomake tests -nomake examples -android-ndk c:\android-ndk-r10d -android-sdk c:\adt\sdk -android-ndk-host windows-x64 -android-toolchain-version 4.8 -skip qttranslations -skip qtwebkit -skip qtserialport -skip qtwebkit-examples -no-warnings-are-errors

我得到这个错误:

的mingw32-制作'不被识别为一个内部或外部命令,可操作的程序或批处理文件。

'mingw32-make' is not recognized as an internal or external command, operable program or batch file.

我搜索使我的NDK文件夹中,我发现只有这个工具:

I search for make in my NDK folder, and I found only this tool:

C:\\ Android的NDK-r10d \\ prebuilt \\ WINDOWS \\ BIN \\的make.exe

c:\android-ndk-r10d\prebuilt\windows\bin\make.exe

然而,它的命名制作,而不是的MinGW-化妆。本教程说,只需要SDK和NDK的,而且它们不包含的MinGW-化妆。我是否需要安装别的东西?

However, it's named make, not mingw-make. The tutorial says that only the SDK and the NDK are needed, and they don't contain mingw-make. Do I need to installed something else?

推荐答案

我发现我已经MINGW32,使我的Qt Creator的安装,所以我只是把它添加到PATH,它似乎工作:

I found I had mingw32-make in my Qt Creator installation, so I just added it to PATH, and it seems to work:

set PATH=%PATH%;c:\Qt\Tools\mingw491_32\bin
configure configure -xplatform android-g++ -nomake tests -nomake examples -android-ndk c:\android-ndk-r10d -android-sdk c:\adt\sdk -android-ndk-host windows-x64 -android-toolchain-version 4.8 -skip qttranslations -skip qtwebkit -skip qtserialport -skip qtwebkit-examples -no-warnings-are-errors

这篇关于Qt的编译Android的:'的mingw32-化妆'不是内部或外部命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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