windows - QT- 在 Windows 7 中安装

标签 windows qt configuration installation

我有一个 c++ 项目,当我构建该项目时,需要我安装 QT 一个对话框,要求我输入 qmake 命令。

我找到了一个需要使用的地方

MinGW_QT

在工具选项中,但由于我已经下载了 QT 库 4.8.4,所以我无法找到 . C:\QT\4.8.4\MinGW\bin

我必须安装哪个库才能得到这个我也试过安装

 Qt libraries 4.8.4 for Windows (minGW 4.4, 317 MB) from the QT webportal

当我尝试运行它时提示

There is a problem with your MinQW instalation
w32api not found in c:\MinGW\bin\
Do you still want to continue? Yes

最佳答案

如果您使用的是通过 MinGW 编译的 Qt 库,则需要安装 MinGW 来编译和链接 Qt 库。只需在某处下载并解压 MinGW,然后将其路径添加到您的环境变量 PATH。然后您需要将该编译器引入您的 Qt Creator 安装。转到“工具 -> 选项 -> 构建和运行”,然后在 toolchainn 选项卡中添加新的 MinGW 安装。

我会建议 MinGW-builds 来自 https://sourceforge.net/projects/mingwbuilds

关于windows - QT- 在 Windows 7 中安装,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14136589/

相关文章:

Windows 7 64 Chrome 19 字体抗锯齿渲染问题

c++ - QStateMachine 的同步问题

c++ - QT 自定义插件 - 提高安全性的方法

windows - 构建后如何在 Windows 上安装 Qt?

testing - Oozie:在本地测试工作流程

c++ - 使用 fopen 打开文件,在 Windows 上给定绝对路径

c# - Windows 10 崩溃侦探

c++ - 错误 :0906D06C:PEM routines:PEM_read_bio:no start

c++ - 为 Qt 项目树中的所有项目定义一个全局宏

ruby - 监控 Ruby 脚本,使用 Monit - 包括 RVM