Describe the bug
Since 3.3.1 the Debug configuration is broken.
Changes to the file "qt_defaults.props" mean that $(QtBuildConfig) is defined incorrectly".
This escalates through to "qt_vars.targets" and $(QMakeArgsList) never contains "CONFIG += debug".
Result is that on the link line, the application built with Debug tries to link with Release libraries.
If your Qt installation is split into two separate folders (Debug, Release) then the Debug build fails.
If your Qt installation is combined, then the Debug build links with Release libraries.
To Reproduce
Steps to reproduce the behaviour:
Using a Debug only Qt installation.
Create an example Qt app using the MSVS Project Wizard.
Try and build it with Debug.
It will fail with unable to locate e.g. Qt6AXContainer.lib instead of Qt6AXContainerd.lib
Expected behavior
In a Debug environment $(QtBuildConfig) should be "debug", and "CONFIG += debug" should be added.
Screenshots
Changes that have caused this behaviour in 3.3.1 is below:
qt_defaults.props

Place where "CONFIG += debug" should be added:
qt_vars.targets

Desktop (please complete the following information):
- Qt VS Tool Version 3.3.1
- Visual Studio version VS2022
- Qt Version 6.7.1
Additional context
It was bad enough in 3.3.0 with the missing moc include paths bug, and now this in 3.3.1 is another catastrophic failure.
Describe the bug
Since 3.3.1 the Debug configuration is broken.
Changes to the file "qt_defaults.props" mean that $(QtBuildConfig) is defined incorrectly".
This escalates through to "qt_vars.targets" and $(QMakeArgsList) never contains "CONFIG += debug".
Result is that on the link line, the application built with Debug tries to link with Release libraries.
If your Qt installation is split into two separate folders (Debug, Release) then the Debug build fails.
If your Qt installation is combined, then the Debug build links with Release libraries.
To Reproduce
Steps to reproduce the behaviour:
Using a Debug only Qt installation.
Create an example Qt app using the MSVS Project Wizard.
Try and build it with Debug.
It will fail with unable to locate e.g. Qt6AXContainer.lib instead of Qt6AXContainerd.lib
Expected behavior
In a Debug environment $(QtBuildConfig) should be "debug", and "CONFIG += debug" should be added.
Screenshots

Changes that have caused this behaviour in 3.3.1 is below:
qt_defaults.props
Place where "CONFIG += debug" should be added:

qt_vars.targets
Desktop (please complete the following information):
Additional context
It was bad enough in 3.3.0 with the missing moc include paths bug, and now this in 3.3.1 is another catastrophic failure.