Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
2.3.1
-
None
-
Visual Studio Version: 2017 Professional 15.9.4
Qt version: 5.11.0
Integration Type: Qt/MSBuild
-
-
10961ecb86d7688f3eb7fb782f7d38affef2aa09
Description
I have a qt project with the code divided in multiple subfolders
I use $(IntDir)/%(RelativeDir)/ for the ObjectFileName so the .obj file are kept in the same relative directory as the originals .cpp files.
I need to do this because my collegues use the same file name in different folders so the default ObjectFileName value create name conflicts.
See: https://stackoverflow.com/questions/3729515/visual-studio-2010-2008-cant-handle-source-files-with-identical-names-in-diff/3731577
This has always worked without a problem until the last update to the 2.3.1 VS Tools.
If I update to 2.3.1 the Target MakeDirsForCl defined in "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets" is not executed and so the intermediate folder needed are not created.
The build will then file as soon as it has to save an .obj file to the disk because the folder is missing.
If I revert back to the version 2.2.2 everything works.
Attachments
Issue Links
- is required for
-
QTVSADDINBUG-606 Qt Quick Compiler compile qml inside +android folder also
- Closed