Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to work in portrait mode #20

Closed
HelenXR opened this issue Jan 17, 2017 · 1 comment
Closed

How to work in portrait mode #20

HelenXR opened this issue Jan 17, 2017 · 1 comment

Comments

@HelenXR
Copy link

HelenXR commented Jan 17, 2017

This Application work fine in my monitor(1366x768) which is in landscape mode.
But My HMD devices is 1440x2560 which is in portrait mode, I need to rotate the View .
I want to find some api to do this under Class QMainWindow & QWidget ,But I don't find ,give me a hand,thanks.

@russell-taylor
Copy link
Contributor

The application does not have a portrait mode. However, in Windows you can rotate the display within the OS so that it shows in landscape mode and run the program in that configuration. The resulting parameters will work for a RenderManager context that is in portrait mode, it is only the distortionizer than should need to be run in landscape.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants