Search code examples
qtvisual-studio-2005build-automationadd-in

Qt Visual Studio Add-In Problems


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


Solution

  • 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.