使用 Visual Studio 2010 在 Windows 7 x64 中编译 QT 4,8,0 会出现找不到 makefile

发布于 2024-12-26 09:57:43 字数 680 浏览 2 评论 0原文

我有一个问题..我正在尝试为 vs 2010 编译 qt .. 但我不能.. 我正在遵循本指南: http://thomasstockx.blogspot.com/2011 /03/qt-472-in-visual-studio-2010.html

我遵循所有步骤(-shared 配置除外,因为我想要-static)但是当我数字nmake时,vs提示告诉我:

Microsoft (R) Program Maintenance Utility versione 10.00.30319.01
Copyright (C) Microsoft Corporation. Tutti i diritti riservati.

NMAKE : fatal error U1064: MAKEFILE non trovato. Nessuna destinazione specificat
a.
Stop.

c:\Qt\4.8.0>

它没有找到makefile...我尝试使用具有相同版本的qt、vs和windows的2个不同的电脑,但两者都不起作用所以我做错了......但我不明白在哪里......我尝试搜索但没有运气...... 提前致谢...

i have a problem.. i'm trying to compile qt for vs 2010..
But i can't..
i'm following this guide:
http://thomasstockx.blogspot.com/2011/03/qt-472-in-visual-studio-2010.html

i follow all the steps (with the exception of -shared config, because i want -static) but when i digit nmake the vs prompt tell me this:

Microsoft (R) Program Maintenance Utility versione 10.00.30319.01
Copyright (C) Microsoft Corporation. Tutti i diritti riservati.

NMAKE : fatal error U1064: MAKEFILE non trovato. Nessuna destinazione specificat
a.
Stop.

c:\Qt\4.8.0>

it didn't find the makefile... i try with 2 different pcs with the same version of qt, vs and windows and in both don't work so i do something wrong.. but i can't understand where..i triedsearching but with no luck...
Thanks in advance...

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

慈悲佛祖 2025-01-02 09:57:43

我肯定会安装 Perl 然后再试一次。如果不需要,为什么要给出该消息?
然而,我似乎不记得我安装了 Perl,所以这个错误很奇怪。
本教程最初是为 Qt 4.7.2 编写的,并适用于 4.7.4。
但我没有用4.8测试过。在 4.8 之前,Qt 不支持 VS2010,这一点最近发生了变化,所以就像 Frank 所说,您可能应该尝试下载 VS2010 软件包,因为它们现在支持它。

I would definitely install Perl and try again. If it's not needed why should it give that message at all?
However, I don't seem to remember I had Perl installed so the error is rather strange.
The tutorial was written originally for Qt 4.7.2 and worked up to 4.7.4.
But I haven't tested it with 4.8. Before 4.8, VS2010 just wasn't supported by Qt, this has recently changed, so like Frank said, you should probably try to download the VS2010 packages since they now support it.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文