Qt+VS编译出错:Two or more files with the name of moc_Geometry.cpp will produce outputs to the same location

warning MSB8027: Two or more files with the name of moc_Geometry.cpp will produce outputs to the same location. This can lead to an incorrect build result.  The files involved are GeneratedFiles\Debug\moc_XXX.cpp, GeneratedFiles\Release\moc_XXX.cpp.
 
 
1、打开QT的Qt Project Setting
2、修改MocDirectory为: .\GeneratedFiles
上一篇:Windows Phone开发手记-WinRT下启动器替代方案


下一篇:c/c++中typedef详解