vs/qt: Explicitly reference target output to avoid failing post-build step

- Referencing the whole build folder will err if there is any non-qt exe in the folder
This commit is contained in:
kd-11 2017-09-21 19:07:13 +03:00
parent d0148728c6
commit c6e6f4afea

View File

@ -166,7 +166,7 @@
</ResourceCompile>
<PostBuildEvent>
<Command>
$(QTDIR)\bin\windeployqt --no-angle --no-opengl-sw --no-svg --no-translations $(OutDir)
$(QTDIR)\bin\windeployqt --no-angle --no-opengl-sw --no-svg --no-translations $(TargetPath)
</Command>
</PostBuildEvent>
<PostBuildEvent>
@ -218,7 +218,7 @@
</ResourceCompile>
<PostBuildEvent>
<Command>
$(QTDIR)\bin\windeployqt --no-angle --no-opengl-sw --no-svg --no-translations $(OutDir)
$(QTDIR)\bin\windeployqt --no-angle --no-opengl-sw --no-svg --no-translations $(TargetPath)
</Command>
</PostBuildEvent>
<PostBuildEvent>
@ -271,7 +271,7 @@
</ResourceCompile>
<PostBuildEvent>
<Command>
$(QTDIR)\bin\windeployqt --no-angle --no-opengl-sw --no-svg --no-translations --debug $(OutDir)
$(QTDIR)\bin\windeployqt --no-angle --no-opengl-sw --no-svg --no-translations --debug $(TargetPath)
</Command>
</PostBuildEvent>
<PostBuildEvent>
@ -324,7 +324,7 @@
</ResourceCompile>
<PostBuildEvent>
<Command>
$(QTDIR)\bin\windeployqt --no-angle --no-opengl-sw --no-svg --no-translations --debug $(OutDir)
$(QTDIR)\bin\windeployqt --no-angle --no-opengl-sw --no-svg --no-translations --debug $(TargetPath)
</Command>
</PostBuildEvent>
<PostBuildEvent>