无法编译QtCreator

时间:2012-04-26 10:14:34

标签: c++ qt compilation

我正在尝试使用gcc 4.7构建QtCreator,但是我收到以下错误: enter image description here

重点是我卸载了QtSDK而我从源代码构建了Qt(但不是我现在正在做的QtCreator)。我检查了PATH变量,QtSDK在任何地方都没有提到,但是mingw32-make是从某个地方获取的。

有什么想法吗?

2 个答案:

答案 0 :(得分:2)

在尝试编译之前,你是否从README中做过这些事情?

set QTDIR=<working_directory>\qt
set PATH=%QTDIR%\bin;<path_to_mingw>\bin;<working_directory>\creator\bin;%PATH%
set QMAKESPEC=win32-g++

答案 1 :(得分:0)

由于您对 Qt Creator for Windows 感兴趣并且 是二进制文件,为什么不以这种方式安装呢?

http://qt.nokia.com/downloads/downloads#qt-creator

相关问题