Skip to main content
New Participant
September 18, 2014

[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

    loickolorAuthor
    New Participant
    September 24, 2014
    Ok I found it, I was calling the function from wrong thread. I have to do this from Scene Graph Render thread.