TypeError: Property 'xxx' of object xxx(0x58fd1c) is not a function

问题提示
TypeError: Property ‘xxx’ of object xxx(0x58fd1c) is not a function。

问题原因
函数前面没加 Q_INVOKABLE。

解决方案
函数前面加 Q_INVOKABLE。

猜你喜欢

转载自blog.csdn.net/qq_43248127/article/details/90948996