Thank you for visiting the BlackBerry Support Community Forums.
- Kevin Michaluk, Founder, CrackBerry.com
10-09-2013 06:18 AM
I need to know how to set landscape orientation for BB10 Qt app.I already tried,
QDesktopWidget *desktop = QApplication::desktop();
and set the orientation in bar-descriptor value as " landscape" but the app is resizing according to the portrait screensize.
10-09-2013 06:31 AM
Normally you would put something like this,
OrientationSupport.supportedDisplayOrientation = SupportedDisplayOrientation.DisplayLandscape;
But I'm unsure what to do for a Qt only project.
10-09-2013 06:43 AM
Please post your bar-descriptor.xml. Does it contain this section?
<initialWindow> <aspectRatio>landscape</aspectRatio> <autoOrients>false</autoOrients> <systemChrome>none</systemChrome> <transparent>false</transparent> </initialWindow>
If you can create a simple test project reproducing this issue, it will be easier for us to help.