首页 移动开发 QT     /    QtOpenGL以及Graphics-View框架整合的例子(演示程序+源代码)

QtOpenGL以及Graphics-View框架整合的例子(演示程序+源代码)

上传者: jiangcaiyang123 | 上传时间:2023/9/18 19:10:04 | 文件大小:6.05MB | 文件类型:7z
QtOpenGL以及Graphics-View框架整合的例子(演示程序+源代码)
此程序来源于我的一篇博客,欢迎访问。
http://blog.csdn.net/gamesdev/article/details/11994501-------------------------------------欢迎访问我的博客。
http://blog.csdn.net/gamesdev-------------------------------------Qt的QWidget大家族已经成熟,不会得到太大的发展了,而随着Qt5的发展,新的界面类会崭露头角,比如QWindow、QSurface、QScreen这些类。
但现在的状况(Qt5.2即将出了),这些类和模块并不会对现有的GUI模块造成威胁,更不用说取代Qt4的GUI(在Qt5是QtGui和QtWidgets)模块了。
自Qt4.4起,Qt拥有了Graphics-View框架,使用这个框架可以更加轻松地在窗口中嵌入任意你想要绘制的元素。
但是据我所知,Qt5的那些类无法和Graphics-View框架进行整合,对于想要利用Qt中Graphics-View框架的同行们,只能退回Qt4的类进行开发了,Qt5的这些类对于创建纯OpenGL还是有利的。

文件下载

资源详情

[{"title":"(34个子文件6.05MB)QtOpenGL以及Graphics-View框架整合的例子(演示程序+源代码)","children":[{"title":"source","children":[{"title":"Format3DS.h <span style='color:#111;'>3.54KB</span>","children":null,"spread":false},{"title":"appIcon.ico <span style='color:#111;'>66.06KB</span>","children":null,"spread":false},{"title":"zh_CN.ts <span style='color:#111;'>4.59KB</span>","children":null,"spread":false},{"title":"ShaderKeywordHighlight.h <span style='color:#111;'>3.81KB</span>","children":null,"spread":false},{"title":"Translation.qrc <span style='color:#111;'>98B</span>","children":null,"spread":false},{"title":"Shader","children":[{"title":"Diffuse.vert <span style='color:#111;'>493B</span>","children":null,"spread":false},{"title":"Specular.vert <span style='color:#111;'>847B</span>","children":null,"spread":false},{"title":"Specular_Opt.vert <span style='color:#111;'>800B</span>","children":null,"spread":false}],"spread":true},{"title":"OpenGLView.cpp <span style='color:#111;'>10.75KB</span>","children":null,"spread":false},{"title":"ShaderOptionDialog.h <span style='color:#111;'>3.88KB</span>","children":null,"spread":false},{"title":"Model.qrc <span style='color:#111;'>95B</span>","children":null,"spread":false},{"title":"QtGLSL_LightShader_5.pro <span style='color:#111;'>3.76KB</span>","children":null,"spread":false},{"title":"Various.3ds <span style='color:#111;'>49.86KB</span>","children":null,"spread":false},{"title":"lib","children":[{"title":"libFeedback.a <span style='color:#111;'>580.71KB</span>","children":null,"spread":false},{"title":"lib3ds.a <span style='color:#111;'>72.81KB</span>","children":null,"spread":false}],"spread":true},{"title":"OpenGLView.h <span style='color:#111;'>4.18KB</span>","children":null,"spread":false},{"title":"ShaderOptionDialog.ui <span style='color:#111;'>6.94KB</span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'>3.98KB</span>","children":null,"spread":false},{"title":"Shader.qrc <span style='color:#111;'>186B</span>","children":null,"spread":false},{"title":"Feedback","children":[{"title":"Feedback.qrc <span style='color:#111;'>147B</span>","children":null,"spread":false},{"title":"FeedbackDialog.h <span style='color:#111;'>3.95KB</span>","children":null,"spread":false},{"title":"Feedback.pri <span style='color:#111;'>205B</span>","children":null,"spread":false},{"title":"textEditBackground.png <span style='color:#111;'>97.66KB</span>","children":null,"spread":false},{"title":"pushButtonBackground.png <span style='color:#111;'>2.72KB</span>","children":null,"spread":false}],"spread":false},{"title":"ShaderOptionDialog.cpp <span style='color:#111;'>7.29KB</span>","children":null,"spread":false},{"title":"MainWindow.h <span style='color:#111;'>3.10KB</span>","children":null,"spread":false},{"title":"Camera.h <span style='color:#111;'>3.87KB</span>","children":null,"spread":false},{"title":"zh_CN.qm <span style='color:#111;'>1.60KB</span>","children":null,"spread":false},{"title":"ShaderKeywordHighlight.cpp <span style='color:#111;'>6.46KB</span>","children":null,"spread":false},{"title":"Camera.cpp <span style='color:#111;'>4.76KB</span>","children":null,"spread":false},{"title":"MainWindow.cpp <span style='color:#111;'>3.87KB</span>","children":null,"spread":false},{"title":"GraphicsScene.h <span style='color:#111;'>4.11KB</span>","children":null,"spread":false},{"title":"GraphicsScene.cpp <span style='color:#111;'>7.67KB</span>","children":null,"spread":false}],"spread":false},{"title":"bin","children":[{"title":"windows","children":[{"title":"ShaderForLight.exe <span style='color:#111;'>5.97MB</span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • FDCFDMin:
    编不过,不能用2021-02-05
  • 指尖上星空:
    64位的编译不过,缺少64位的lib3ds静态库和libFeedback静态库文件最好能有这两个库文件的源码2020-06-30
  • lansekj:
    被QOpenGLWidget在QGraphicsView无法刷新困扰很久了,受教了2020-05-13
  • mark870314:
    不错学习中2019-09-25
  • boardhg:
    编译不过.............2019-04-08

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明