2011-04-04 170 views
2

“M试图让使用Qt Creator一个新的项目,并编译时,我得到了以下错误:Qt的版本无效

The Qt version is invalid: Could not determine the path to the binaries of the Qt installation, maybe the qmake path is wrong?

The qmake command "<not found>" was not found or is not executable.

我怎样才能解决这个问题呢?

谢谢。

+0

检查下工具 - >选项的配置Qt的装置>的Qt4 – 2011-04-04 07:59:54

+0

@Frank奥斯特费尔德。我已经添加到我的路径:C:\ Qt \ 2010.05 \ bin。而且,当我去:工具 - >选项... - >的Qt4在Qt Creator中下自动检测Qt的版本标签,它说的Qt在PATH 。在这种情况下我该怎么办?的 – Simplicity 2011-04-04 08:07:00

+0

可能重复的[#包括 --->没有这样的文件或目录(http://stackoverflow.com/questions/5535661/include-qtgui-qapplication-no-such-file-or-directory ) – Johnsyweb 2011-04-04 08:20:40

回答

1

问题解决。

我说这PATHC:\Qt\2010.05\qt\bin

相反的:C:\Qt\2010.05\bin

但由于之后没有包含qmake.exe

感谢。

+0

你在哪里做这种修改? – test 2013-10-13 14:02:26