Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt installer with Debug-Symbols?
I installed Qt 5.6 with the offline installer and wondering why binaries installed are stripped. I try to debug QObject related classes (e.g. QSettings) and get no debug information from those. What would be the appropriate way of getting the information.
I'm not completely sure, but I think the installers don't carry debug information at all. When I wanted to debug into Qt, I'd always make my own debug Qt build.
Hi and welcome to devnet,
Which platform are you on ?
@SGaist Hi, this is Ubuntu 14.04 64 bit with a plain X-window system
Silly question but are you using a debug build of your application ?
$ file libQt5Core.so.5.6.1 libQt5Core.so.5.6.1: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked (uses shared libs), BuildID[sha1]=f023ef806560c7d6dea5cfab0707ca5fff6abf51, stripped
So the binaries from the installer are stripped. My application is not. I am able to debug things like QString due to the public header implementation. QSettings does not provide it. I am wondering why only stripped libraries are provided.
So I guess I need to install something from PPA or build them non-stripped by myself?