适用于Qt5的GDB漂亮打印机



在哪里可以找到适用于qt5的gdb漂亮打印机?

我只能在 kde 开发者网站上找到 qt4。也许有人知道新版本Qt的漂亮打印机是否存在,以及我在哪里可以找到它们。

我知道可以使用最新版本的QtCreator,但我只需要GDB的普通python脚本。

https://techbase.kde.org/Development/Tutorials/Debugging/Debugging_with_GDB 上列出的漂亮打印机仅与Qt 5部分兼容。某些类型(如 QByteArray)未正确处理。

Alex Merry曾致力于Qt 5漂亮的打印机,并试图将它们推送到Qt5 Base软件包中(不幸的是它没有成功)。为了方便起见,我在 https://github.com/Lekensteyn/qt5printers

作为参考,以下 ( gdbinit + *.py ) 支持 qt5 对象,并且似乎会定期更新:

https://invent.kde.org/kdevelop/kdevelop/-/tree/master/plugins/gdb/printers

https://github.com/KDE/kdevelop/tree/master/plugins/gdb/printers

我所知,漂亮的打印机位于这里:http://gcc.gnu.org/svn/gcc/trunk/libstdc++-v3/python/

此外,可以在此处找到启用了 Python 的 GDB 二进制文件。 http://origin.releases.qt-project.org/gdb/

最新更新