I'm still struggling to get a low maintenance development environment using Visual Studio 2010 with the integrated Qt support.
Mostly, I love it! It's really convenient to redesign and refine dialogs using Qt designer and then just rebuild. However, whenever I have to add a new dialog, the overhead seems unreasonable.
I mentioned in a previous post that the qmake -tp vc causes the property sheet that defines required include directories, libs, etc to be removed from the VS2010 solution. Annoying, but not such a big deal since I just add it back after doing the qmake.
What's been much more of a hassle is getting things like "Go to declaration", "Go to definition", and "Find all References" working again after the qmake. I've done hours of surfing trying to figure out what's causing the issue and how to fix it.
I've tried many things, nothing seems to restore these nearly essential features after doing the qmake. Just this morning I confirmed it is the qmake that messes things up, so I think that means it has nothing to do with the source files, but rather something in the VS2010 environment.
What DOES work is starting a brand new VS2010 project, copying all the source files into a new directory, then running the qmake -tp vc there. Everything works fine until I add new source files with QObject and do qmake -tp vc again.
Any suggestions on how to debug this would be appreciated. Or, how do others work in Vs2010 with integrated Qt? I use the property sheet for configuring stuff like include and library paths, so I don't have to go through all the different places in the VS2010 GUI every time I start a new or derivative solution.
Thanks,
Dave Thomas
Bookmarks