Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
None
-
2.6.0 (rev.18), 2.7.0, 2.7.1
-
Microsoft Visual Studio Community 2019 Version 16.9.0 (latest)
-
-
c87bf6379 (dev)
Description
Building a Qt project in Visual Studio 2019 the intermediate build directory is ignored which can be set under:
Project > Properties > Configuration Properties > General > IntermediateDirectory
If the intermediate directory is changed or set manually then all *.obj files will NOT be placed there.
To reproduce this bug open a Qt project *.pro file in Qt Visual Studio Tools 2019. After opening the resulting converted Visual Studio project *.vcproj file go to the above mentioned project "IntermediateDirectory" property and set it manually for example to c:\temp directory. After building the project there won't be any *.obj files in c:\temp directory.
For testing just take any Qt Example project for example: ../Examples/Qt 6.x.x/widgets/mainwindows/sdi/sdi.pro.
This might be a regression. Because I can't remember to got this problem using prior Qt Visual Studio Tools <= 2.5.x versions.
For non Qt projects In Visual Studio 2019 changing the "IntermediateDirectory" to a specific location works fine.