使用最新的 VC 编译 Qt 应用程序2008年运行时

发布于 2024-08-16 10:56:16 字数 400 浏览 2 评论 0原文

您好,我在使用 Visual studio 2008 SP1 编译 Qt 应用程序时遇到问题。

为了纯粹起见,我创建了一个Windows XP虚拟机,安装了VS 2008,然后安装了SP1,然后编译了Qt 4.6。现在,通过查看 Qt DLL 的清单(使用 XN 资源编辑器),我可以看到它们依赖于 9.0.21022.8 CRT。

但同时SP1附带的最新CRT是9.00.30729.4926。为什么生成的 Qt DLL 中嵌入了旧的清单?我该如何解决这个问题?

除此之外,在我的开发机器上的winsxs文件夹中我只能找到9.00.21022.8 CRT(注意双零)。 9.0.21022.8 CRT 在哪里 - 我不知道,但它们一定在某个地方((c) Bush),因为应用程序实际上是在开发计算机上启动的。

谢谢 安东

Hi I have a problem compiling my Qt app with Visual studio 2008 SP1.

For the sake of purity I created a windows XP virtual machine, installed VS 2008, then SP1 and then compiled Qt 4.6. Now from looking at the manifest of the Qt DLLs (using XN Resource Editor) I can see that they depends on 9.0.21022.8 CRT.

But at the same time the latest CRT that comes with SP1 is 9.00.30729.4926. Why were the Qt DLLs generated with the the older manifest embedded? How can I fix this?

Besides this, on my dev machine in winsxs folder I can only find 9.00.21022.8 CRT (note double zero). Where is the 9.0.21022.8 CRT - I have no idea, but they must be somewhere((c) Bush) since the app actually starts on the dev machine.

Thanks
Anton

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文