Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt 5: values not shown while debugging
fifthfloor last edited by
I have installed Qt 5.0.1 beside Qt 4.8.1 on Win 7 64 bit.
When debugging Qt 5 projects, values of Qt types are not shown, e.g. QModelIndex or QString variables. Instead of the value, there is a message "not accessible" or "optimized out reference".
Debugging Qt 4 code works always properly.
I already tried different Qt Creator versions 2.6.2, 2.6.1, 2.5.2
combined with different GDB versions.
Even the GDB wich works under Qt 4 does not work under Qt 5.
In the debugger log's dumpers section, all the Qt types are specified.
I also tried installing of the Qt 5 package in different paths without luck.
Any help is appreciated!