从QMetaObject获得QMetaType很简单,但是我找不到任何东西可以让我从QMetaObject获得QMetaType。pMetaObject->method(pMetaObject->methodOffset());//QMetaMethodauto qMetaType= QMetaType(returnType);//QMetaType for custo
使用Qt5可以工作,但Qt6使用VisualStudio2019时会在QMetaType中生成编译错误,方法是无法为MyClass找到新的类特定位置。VS 2019年编译错误(更改为隐藏特定路径和类名):: note: see declaration of 'BaseClass::operator new'
...