根据《C++ GUI Programming with Qt 4,Second Edition》中第5章的“在Qt设计师中集成自定义窗口部件”小节,使用插件法生成的窗口部件利用QT Creator编译后,在QT Creator中的设计师是找不到的,但是在打开<setuproot>/qt/bin中的Qt designer是可以找到该插件的。

如果在Qt designer插入该插件,然后在QT Creator中编译是通不过的。

照成这种问题的原因是QT Creator和Qt designer的窗口部件插件是存在不同路径的.Qt designer是在<setuproot>/qt/plugins/designer中,而QT Creator是在<setuproot>/bin/designer中,解决办法只需将<setuproot>/qt/plugins/designer中的全部内容复制到setuproot>/bin/designer中即可。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-03-06
  • 2021-11-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-18
  • 2021-06-30
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-18
  • 2021-12-05
  • 2021-05-01
  • 2021-12-31
相关资源
相似解决方案