Qt 疑点归纳总结

    xiaoxiao2021-12-02  22

    1. Q_OBJECT是什么意思

    The Q_OBJECT macro at the beginning of the class definition is necessary for all classes that define signals or slots

    只有加入了Q_OBJECT,你才能使用QT中的signal和slot机制。

    转载请注明原文地址: https://ju.6miu.com/read-679852.html

    最新回复(0)