windeployqt debug issue with VS2019 /ZI Edit and continu enabled
-
Hello,
If I compile my project in debug with Edit and continu enabled (/ZI) with VS 2019, the windeployqt.exe will either copy the release plugin binaries (with an error when loading qml because of incompatibility between release and debug) or, if --debug is specified, it will append a "d" to the dll names and fail to copy Qt5Coredd.dll, Qt5Guidd.dll etc because they don't exist.
It only happens when the /ZI option is enabled.
Edit: Using Qt 5.15.2, didn't try with Qt 6
-
Deploying debug libs is not suported (and deploying the msvc debug runtimes is not allowed by MS). Only deploy release binaries.