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.
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to