I'd a problem with orientation using QML VideoOutput, not exactly the same, but the autoOrientation had some bugs, i.e: Doesn't recognize the Qt .InvertedPortraitOrientation orientation. I tried to fix it, instead assigning the angle in the events:
onWidthChanged onHeightChanged Maybe it can help you, but for me it didn't work for Qt.InvertedPortraitOrientation as well. Em ter, 29 de set de 2015 às 11:37, Igor Mironchik <igor.mironc...@gmail.com> escreveu: > Hi guys, > > Does anybody have experience with displaying QCameraViewfinder on iOS? > > I successfully display it, I see video from camera... But I have one > problem: when I rotate device my window trying to rotate and stopping in > the middle of this action. When I click somewhere on this screen then > layout correctly updates and everything looks correct but I don't > receive rotation anymore. If I don't display QCameraViewfinder then > rotation works fine. > > Does anybody have experience with this problem? > > What can I do? > > How can I handle rotation events in Qt? > > I tried to connect to QScreen::orientationChanged() and do some > workarounds but I don't receive this signal... I use > QGuiApplication::primaryScreen()... > > Thank you. > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest >
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest