Details
Description
Importing a .pro file for a pre-existing Qt project is not working for the Qt Addin v1.1.6. To reproduce the problem, use Qt->Open Qt Project File on an existing project. Building the project may result in a moc'ed file not being generated or being created in the wrong place (directly in the Debug or Release directory) rather than in GeneratedFiles\$ConfigurationName.
This reproduces using Visual Studio 2008 and large-ish project. In my case, one file did not have its moc step added, the rest were OK. A popup message also appears during the importation stage which indicates that a moc step was not added.
The workaround is to use qmake -tp vc then devenv <projectname>.vcproj /useenv to use the qmake generated vcproj file.