[Qt 5.4] Windows Phone release compilation error
I am trying to compile my project for Windows Phone platform. It works great when I compile debug version(I can deploy it and test on my phone) but trying to compile release version gives error.
Error 101 error MSB6006: "cmd.exe" exited with code 1
When I invesigate it, I found some problems in Microsoft.CppCommon.Targets file(ln 167 and ln 170)
The element 'PropertyGroup' in namespace... has invalid child element CustomBuildToolArchitecture The element 'Target' in namespace... has invalid child element CustomBuild
Does anyone know how to fix it?
Thanks in advance.
Are you using VIsual Studio or the command line? cmd.exe indicates the latter, but CppCommon.Targets comes from Visual Studio...
That was a long time ago, but I was using Visual Studio.
Anyway the release for Windows Phone was postponed, so maybe in a new Qt version it works, not sure.
Did you compile release version with no problem?