qt6-bb10/src
Tor Arne Vestbø 13c491e6c8 iOS: Fall back to statusbar orientation for initial QScreen::orientation()
At startup, iOS will report UIDeviceOrientationUnknown for the device
orientation, which toQtScreenOrientation() maps to portrait. We can be
smarter than that, by falling back to the orientation of the statusbar,
which in most cases match the physical orientation of the screen at
startup, unless the Info.plist file has been modified to limit the
possible orientations. See also:

  https://gist.github.com/torarnv/40c1931205e33d2b1ed3

Change-Id: I5c78fbe5c670ed2909a51b478bd4814e2433554f
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
2015-01-21 19:12:27 +01:00
..
3rdparty Merge remote-tracking branch 'origin/5.4' into dev 2015-01-21 11:10:14 +01:00
android Added new private API for Android and onNewIntent 2015-01-21 12:13:25 +01:00
angle ANGLE: Disable MSVC warning 4996 for debug builds 2015-01-13 12:59:24 +01:00
concurrent Add Q_DECL_OVERRIDE in the src subdirectory 2014-12-03 09:57:11 +01:00
corelib Added new private API for Android and onNewIntent 2015-01-21 12:13:25 +01:00
dbus Merge remote-tracking branch 'origin/5.4' into dev 2015-01-21 11:10:14 +01:00
gui Move static part of angleBetween/transformBetween/mapBetween to QPlatformScreen 2015-01-21 19:11:39 +01:00
network QSslEllipticCurve: enable NRVO in *Name() methods 2015-01-21 11:22:41 +01:00
opengl Merge remote-tracking branch 'origin/5.4' into dev 2014-12-29 16:37:38 +01:00
openglextensions purge vestiges of opengl es 1 support 2014-04-04 19:32:21 +02:00
platformheaders Add a platform function to enable setting the touch flags on Windows 2015-01-05 07:49:15 +01:00
platformsupport Unify input device hotplugging support for embedded 2015-01-21 12:32:04 +01:00
plugins iOS: Fall back to statusbar orientation for initial QScreen::orientation() 2015-01-21 19:12:27 +01:00
printsupport Merge remote-tracking branch 'origin/5.4' into dev 2015-01-21 11:10:14 +01:00
sql Merge remote-tracking branch 'origin/5.4' into dev 2015-01-21 11:10:14 +01:00
testlib Merge remote-tracking branch 'origin/5.4' into dev 2015-01-21 11:10:14 +01:00
tools qdoc: Remove support for DITA XML 2015-01-21 11:34:55 +01:00
widgets Introduce QFontDatabase::isPrivateFamily() 2015-01-21 12:05:35 +01:00
winmain Merge remote-tracking branch 'origin/5.3' into 5.4 2014-08-12 13:05:02 +02:00
xml Add Q_DECL_OVERRIDE in the src subdirectory 2014-12-03 09:57:11 +01:00
src.pro Remove unnecessary dependency 2015-01-02 13:19:08 +01:00