【发布时间】:2020-04-04 19:20:56
【问题描述】:
我正在尝试开始使用debug helpers in QtCreator。
但我什至无法得到任何简单的工作。
我制作了这个简单的python文件:
from dumper import *
def qdump_TestClass(d, value):
d.putNumChild(0)
d.putValue("hi")
然后在此处添加该文件:
这是类的 C++ 定义:
struct TestClass {
int x, y;
};
我一直按照this other question 中的步骤进行操作。但这对我不起作用。
【问题讨论】:
标签: c++ qt-creator