Forum Discussion
loickolor
11 years agoHonored Guest
[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 ?
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
- loickolorHonored GuestOk I found it, I was calling the function from wrong thread. I have to do this from Scene Graph Render thread.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device