这些类扩展了各种Qt图形项类,但也提供了公共功能,例如一个抽象工厂方法,该方法返回每个类专门化的属性面板。我已经在一个纯虚拟类MapElementInterface中声明了这些常见方法。然后,我的类复制-继承适当的Qt基类以及接口:classMapIconElement : public QGraphicsItem, public MapElementI
在QT5.5中,我尝试在本教程中获取“当前进程当前使用的物理内存”:,当我试图将这个函数添加到我的应用程序时,我得到了一个错误.pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
谢谢你的帮助