Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我调用 QObject::findChildren() 时,我收到的地址不是正确的地址,但它指向我正在寻找的内容的精确副本。只有在我试图找到我创建的自定义小部件插件时才会发生此错误。那是怎么回事...我需要在插件项目中添加一些东西吗?
这可能是因为您调用了 setupUi 两次。