7

尝试配置 Qt 时出现错误。

Erro :
    execute: File or path is not found (nmake)
    execute: File or path is not found (nmake)
    Cleaning qmake failed, return code -1




// installion files.
    InterBase...............no

Sources are in..............E:\xampp\Qt\4.6
Build is done in............E:\xampp\Qt\4.6
Install prefix..............E:\xampp\Qt\4.6
Headers installed to........E:\xampp\Qt\4.6\include
Libraries installed to......E:\xampp\Qt\4.6\lib
Plugins installed to........E:\xampp\Qt\4.6\plugins
Binaries installed to.......E:\xampp\Qt\4.6\bin
Docs installed to...........E:\xampp\Qt\4.6\doc
Data installed to...........E:\xampp\Qt\4.6
Translations installed to...E:\xampp\Qt\4.6\translations
Examples installed to.......E:\xampp\Qt\4.6\examples
Demos installed to..........E:\xampp\Qt\4.6\demos

Creating qmake...
execute: File or path is not found (nmake)
execute: File or path is not found (nmake)
Cleaning qmake failed, return code -1


E:\xampp\Qt\4.6>
4

3 回答 3

9

如果您尝试使用 Visual Studio 环境构建 Qt,则必须确保nmakecl位于PATH.

最简单的方法是简单地使用 Visual Studio 命令提示符(例如在开始菜单中找到)。

于 2010-02-17T20:33:09.493 回答
0

你需要改变你的路径,让它通向 nmmake 所在的任何地方。

于 2010-02-17T23:09:14.523 回答
0

尝试将标志“-make nmake”添加到您的配置命令中。

于 2012-09-26T23:18:25.747 回答