Qt Visual Studio 插件问题

发布于 2024-09-11 08:03:09 字数 261 浏览 3 评论 0原文

我将 Qt 4.6.2 与最新版本的 Visual Studio Add-In(1.1.5) 和 Visual Studio 2005 Professional 一起使用。

我发现每当我重新启动 Visual Studio 或切换构建目标(我正在构建 Win32 和 x64,调试/发布构建)时,我的所有 moc、uic 和即使 .h/.ui/.qrc 文件没有更改,rcc 文件也会重新生成。

关于如何解决这个问题有什么想法吗?它导致构建时间显着增加。

扎克

I am using Qt 4.6.2 with the latest version of the Visual Studio Add-In(1.1.5) with Visual Studio 2005 Professional.

I am finding that whenever I restart Visual Studio or switch build targets(I am building Win32 & x64, Debug/Release builds) all of my moc, uic & rcc files will be regenerated even when the .h/.ui/.qrc files have not been changed.

Any ideas on how to fix this? It is causing a significant increase in build times.

Zac

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

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

发布评论

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

评论(1

淡忘如思 2024-09-18 08:03:09

嗯,奇怪,我检查了我的设置,在切换“调试”-“发布”后没有发现相同的症状。我使用:

  • Visual Studio 插件(1.1.5) - 从 1.1.4 进行更新

  • Visual Studio 2008 Pro

这是我的 Qt 选项 对话框:

< img src="https://i.sstatic.net/7N9if.png" alt="替代文字">

我只构建 Win32 目标。您还需要检查 MSVC 编译器设置,以获取某些重建选项。尝试应用默认设置。

希望这些信息有帮助。

Hm, strange, I have checked with my settings, and don't find the same symptoms after switching Debug-Release. I used:

  • Visual Studio Add-In(1.1.5) - made update from 1.1.4

  • Visual Studio 2008 Pro

Here is my Qt Options dialog:

alt text

I'm building only Win32 target. Also you need to check MSVC compiler settings, for some rebuild options. Try default settings to apply.

Hope this information help.

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