c++ - Qt安装报错

标签 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>

最佳答案

如果您尝试使用 Visual Studio 环境构建 Qt,则必须确保 nmakeclPATH 中.

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

关于c++ - Qt安装报错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2284051/

相关文章:

c++ - 读取 Windows 套接字上的 SIO_KEEPALIVE_VALS 字段(用于保持空闲和间隔时间)

c++ - 检查 cv::Point 是否在 cv::Mat 内

c++ - QML/D 文本编辑器和基本注意事项

c++ - Qt 4.8.5 configure.exe 只显示选项

c++ - Dhcpv6CApiInitialize 在哪里?

c++ - 在 libXML sax 解析器(C++)中获取属性值的正确方法是什么?

Qt keyPressEvent、 "Hold"和 keyReleaseEvent 处理按钮/鼠标点击

c++ - Qt资源文件利用

c++ - 如何并排执行两个 QGraphicsViews 的 50/50 布局?

qt4 - PyQt4 居中对话框窗口的最佳方法是什么?