Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
loickolor's avatar
loickolor
Honored Guest
11 years ago

[SOLVED] Qt framework and Direct Access mode

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

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