herd

编译项目时,发现报错:VS 无法打开包括文件: “QOpenGLWidget”: No such file or directory,在Qt对应的目录(E:\Qt\Qt5.12.2\5.12.2\msvc2017_64\include)中发现QOpenGLWidget是在QtWidgets目录下面的,所以,引入的路径修改为:#include <QtWidgets/QOpenGLWidget>   即可。

分类:

技术点:

相关文章:

  • 2021-10-08
  • 2022-01-22
  • 2021-09-09
  • 2021-07-14
  • 2021-08-23
  • 2021-11-15
  • 2021-12-20
猜你喜欢
  • 2021-11-10
  • 2021-09-25
  • 2021-11-09
  • 2021-05-31
  • 2021-07-03
相关资源
相似解决方案