Steps to reproduce:
- Create new cmake project/open example project
- Build project in release mode
- "dumpbin /dependents <path to executable>"
- Executable depends on release versions of Qt dlls (Qt6Core.dll ...)
- Executable depends on debug versions of Qt dlls (Qt6Cored.dll ...)
- relates to
QTBUG-80901 Properly support RelWithDebInfo builds (aka --force-debug-info in qmake land)