Visual Studio IDE does not rebuild (does not invoke MSBuild) after Qt .ui file change
CMake generates correct project/solution file for MSBuild. But if the build is started from the VS IDE, Visual Studio build manager first checks if it needs to invoke MSBuild or not (see DisableFastUpToDateCheck description in https://docs.microsoft.com/en-us/visualstudio/msbuild/common-msbuild-project-properties?view=vs-2017). And, it falsely determines the target is up-to-date and skips MSBuild.
One of the case this happens (and maybe not the only case) is, a Qt project that uses AUTOUIC. Modifying .ui file is not considered a rebuild trigger by the VS Build Manager because the dependency of .ui file is not explicitly described in the project file.
I think DisableFastUpToDateCheck property or some explicit .ui file dependency need to be added to avoid this problem.