I welcome everyone.
As everyone has known for a long time, Qt has already steadily switched to CMake, replacing QMake.
And this means that you and I can use other IDEs to work with this framework.
CLion works great with both CMake and the Qt framework itself. With the exception of working with QML, everything is excellent.
But what should we do if we need to debug the project, but instead of understandable symbols, we get pointers in memory and hard-to-read objects?
- We need to copy the directory with debug symbols from the Qt framework, for example, to our user.
- Write information in the .gdbinit file so that the debug understands where to go for the necessary information.
The link below has another option through prepared scripts.
Link to original article qt-debug