cancel
Showing results for 
Search instead for 
Did you mean: 

[SOLVED] Qt framework and Direct Access mode

loickolor
Honored Guest
Hi,

I am using Qt framework to develop my app. When I use Extend mode in Oculus Configuration Utility I have no problems.
But when I use Direct Access mode my app crashes at startup. Especially it crashes when I call ovr_Initialize(). It seems to have conflicts with Qt initialization.

The problem is that I tried to call ovr_Initialize() as soon as possible, I mean first instruction in main.cpp, and it still crashes.

Any idea about this issue ?
1 REPLY 1

loickolor
Honored Guest
Ok I found it, I was calling the function from wrong thread. I have to do this from Scene Graph Render thread.