I'm about to switch from CruiseControl.NET to Jenkins.
My problem with the build process is the error "QtMsBuild: could not locate qt.targets, qt.props; project may not build correctly." I have already tried several solutions but without success. Changing the build methods (NAnt/MSBuild) also produces the same error message. In Visual Studio under Project Properties (C/C++ > Additional Include Directories) I noticed that QTDIR is not known although it exists as an environment variable (as an example instead of {QTDIR}\include I only get \include).
I am using: Qt 5.9.0, MS Visual Studio 2015, Qt Visual Studio Tools (V2.3.2)
In the past I have tried on using an older version of the Visual Studio Tools plugin how the developers recommend. I also checked the paths and set environments variables. Giving Jenkins the path "C:\Users\user\AppData\Local\QtMsBuild" as parameter does not changed anything.
I do not want to copy the files from "C:\Users\user\AppData\Local\QtMsBuild" into each build directory, because at ccnet it's working.
How can I solve this problem?