Qt 6.11 is out! See what's new in the release
blog
How to convert whole qt gui application from portrait to landscape mode
General and Desktop
8
Posts
3
Posters
4.7k
Views
1
Watching
-
hi,
i have created a qt GUI application of screen size 240 x 320(portrait mode). Now i need to convert my whole application to 320 x 240(landscape mode), so that properly it will fit in LCD of screen size 320 x 240.
tell me how to convert my whole application to landscape mode. -
You are talking about classic Qt Widgets, right? Use layouts and it will give you more freedom.
-
Using layouts is the simpliest way. If you of course need only sizes changing, not altering elements positions
-
may be you can try setVerticalScrollBarPolicy() setHorizontalScrollBarPolicy().