[Interest] Using new Qt/msbuild without Qt VS Tools 2.2.1 installed
Simon
simon.derouault at gmail.com
Thu Jun 14 16:56:34 CEST 2018
Hello !
I am using QT VS Tools 2.2.1 for one of my projects and I recently decide
to use the new system that convert custom build step to Qt/msbuild.
On my local computer everything works fine but not on the building server
(Qt Vs Tools not installed here).
I understand I have to add the directory QtMsBuild (with qt.props,
qt.targets, ..., inside it) next to *.vcxproj file.
It works but in my case I have a solution file referring to a lot project
files and I don't want to copy que QtMsBuild directory next to each project
file.
For now I set the environment variable $(QtMsBuild) in my build script and
it's ok.
The Qt VS tools add to each*.vcxproj :
<PropertyGroup Condition="'$(QtMsBuild)'=='' or
!Exists('$(QtMsBuild)\qt.targets')">
<QtMsBuild>$(MSBuildProjectDirectory)\QtMsBuild</QtMsBuild>
</PropertyGroup>
I am not familiar with vcxproj syntax, but I guess it could be feasible
(and nice) to have a new fallback to the solution location ( $(SolutionDir)
?) if QtMsBuild is not found in the project location.
Any thougths ?
Simon.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20180614/b52dc253/attachment.html>
More information about the Interest
mailing list