看网上说法应该是这个【构造函数个数】仅统计 被标记为【Q_INVOKABLE or Q_SCRIPTABLE】的构造函数,原文如下:
Not a bug. As you've discovered, constructors are only extracted if they are marked Q_INVOKABLE or Q_SCRIPTABLE. The same applies to rergular methods, except that slots and signals are automatically invocable. 链接是这个: https://bugreports.qt.io/browse/QTBUG-76348
djm488
2021-01-18 08:23
gnibuoz:看网上说法应该是这个【构造函数个数】仅统计 被标记为【Q_INVOKABLE or Q_SCRIPTABLE】的构造函数,原文如下: Not a bug. As you've discovered, constructors are only extracted if they are marked Q_INVOKABLE or Q_SCRIPTABLE. The same applies to rergular methods, .. (2021-01-17 16:00)