Details
-
Bug
-
Resolution: Incomplete
-
P2: Important
-
None
-
5.7.0
-
Android 4.4
Description
In manifestfile I set
android:screenOrientation="sensorLandscape"
Then in code i'm trying to handle orientationChanged() signal
QScreen* screen = QGuiApplication::primaryScreen();
screen->setOrientationUpdateMask(Qt::LandscapeOrientation|Qt::InvertedLandscapeOrientation|Qt::PortraitOrientation|Qt::InvertedPortraitOrientation);
connect(screen, &QScreen::orientationChanged,[](Qt::ScreenOrientation){})