摘要: #pragma once #include <qobject.h> #include <string> using namespace std; class Person : public QObject { Q_OBJECT public: Q_INVOKABLE Person(int age, 阅读全文
posted @ 2024-10-26 18:57 MarsCactus 阅读(70) 评论(0) 推荐(0)
摘要: 此图为Qt5.x中源码 此图为Qt6.x中源码 阅读全文
posted @ 2024-10-26 15:52 MarsCactus 阅读(24) 评论(0) 推荐(0)