I compile my C++ project with Visual Studio 2022, in Debug mode.
In the project configuration I link with Qt5Core.lib, no other choice. In PATH environment variable, I add the path to the 'bin' folder of Qt5, who contains the both files : QtCore.dll and Qt5Cored.dll. The Qt5Core.pdb and Qt5Cored.pdb files are also here.
The issue : when application compiled in debug mode starts, it always looking for Qt5Core.dll, never Qt5Cored.dll.
Thank you for your help.
I want my application runs with the debug version of QtCore.dll DLL ==> I mean Qt5Cored.dll.
I compile my C++ project with Visual Studio 2022, in Debug mode.
In the project configuration I link with Qt5Core.lib, no other choice. In PATH environment variable, I add the path to the 'bin' folder of Qt5, who contains the both files : QtCore.dll and Qt5Cored.dll. The Qt5Core.pdb and Qt5Cored.pdb files are also here.
The issue : when application compiled in debug mode starts, it always looking for Qt5Core.dll, never Qt5Cored.dll.
Thank you for your help.
I want my application runs with the debug version of QtCore.dll DLL ==> I mean Qt5Cored.dll.
Share Improve this question asked Feb 6 at 13:39 stoffy28stoffy28 15 bronze badges 2- I should link my debug project with Qt5Cored.lib, but unfortunately, the Qt5 libraries comming with Qgis 3.34 LTS does not contain the debug versions of .lib files. – stoffy28 Commented Feb 6 at 21:04
- I have completely reinstalled Qgis, the debug versions of Qt5xxxxxx.LIB are not here. All Qt5xxxxxd.DLL are here. So I don't know how to debug ... – stoffy28 Commented Feb 7 at 8:11
1 Answer
Reset to default 0The Qt5 libraries shipped with Qgis are only release. Debug Qt libraries are not included. It is proven, so no need to investigate more.
The solution should be : download Qt sources, compile them in debug then in release modes. Then, download Qgis sources and compile them too.
By this way, I would have all I need to compile MY application either fully in debug, or fully in release.