Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QPointer in Qt Creator Debugger



  • Hi, I'm using Qt Creator with mingw(gdb) environment under Windows. The question is how can I see object details for QPointer (not QPointer meta data itself but class instance data it points) in debugger. Looking inside d_ptr field only works for simple objects like QLabel for example. In my case it points to class with several pointers to QQueues and I want to see content of those queues when I debug. Currently I fall back to usual pointer for debug purpose but will really appreciate any tips and advices.


Log in to reply