QT 与 openGL 的集成 [英] QT integration with openGL

查看:75
本文介绍了QT 与 openGL 的集成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用 OpenGL 的 VS 项目,我在问是否可以在 openGL 和我的 QT 界面之间进行集成?我如何使用这个 QT UI 作为 OpenGL 产品 UI?有没有办法做到这一点?

I have a VS project using OpenGL and I'm asking if it's possible to integrate between openGL and my QT interface? How do I use this QT UI to be the OpenGL product UI? Is there anyway to do this?

推荐答案

您可以使用 QGLWidget 或更复杂的使用 使用 OpenGL 加速您的小部件

You can use the QGLWidget or for more complex uses Accelerate your Widgets with OpenGL

这篇关于QT 与 openGL 的集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆