Sign in to follow this  

Integrating DirectX with Qt ?

Recommended Posts

hi, I was wondering if integrating DirectX with Qt is possible. It seems to be as I found some mailing lists with references to that. But I can't find HOW to do it. So if anybody here can help me (links, explanations, whatever can help me ^^)

Share this post

Link to post
Share on other sites
I have read an idea on a mail list that used something like that:

1. Derive an object from QWidget and define a IDirect3DDevice9* as a member.

2. In the constructor do the common dirext3d device initialization preparations and when creating the device use


as the wHND argument of the CreateDevice method.

Also may be handle the resize situations (like retransforming the projection matrix etc.) overwriting the paintEvent of the widget.

I didnt have the chance to give it a try but will in a close future.

May be give some more ideas after that trial.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this