Qt安装错误

时间:2010-02-17 20:15:04

标签: c++ qt qt4 qt-creator

我在尝试配置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>

3 个答案:

答案 0 :(得分:9)

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

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

答案 1 :(得分:0)

你需要改变你的路径,以便它可以通往nmake。

答案 2 :(得分:0)

尝试在configure命令中添加标记“-make nmake”。