No matter what i do i can't get the folder qmake/temp to not appear in x64/Debug in my project folder. All other build files including qt, follow the visual studio Output Directory path specified in the project settings. This is only happening for newer projects, my old projects use the Output Directory path variable.
I've compared all the settings between a older project that works and the new one which doesnt and they are all the same.
The temporary files generated by qmake will be forced to be generated in the intermediate directory. You can check the local
qt_private.propsfile located atC:\Users\{User}\AppData\Local\QtMsBuild.To begin with, you need to modify the project settings for the intermediate directory. Then, edit the
.vcxprojfile to ensure that the<IntDir>node appears before the<Import Project="$(QtMsBuild)\Qt.props" />line. For example:or, Set
QtVarsOutputDirbefore importingQt.props, so theConditionin theqt_private.propsfile will be set to false.