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.