[Android-development] orientationChanged() not propagated on Android.
ekke at ekkes-corner.org
Fri Jun 24 13:18:12 CEST 2016
Am 24.06.16 um 13:03 schrieb Wiktor Grębla:
> Thanks for your reply Ekke.
> I've tried https://wiki.qt.io/QML_orientation_observer and it works in
for qml I'm doing it this simple way:
and from C++ orientationChanged() SIGNAL also works
> No luck so far in QtWidgets.
never done anything with Widgets
> 2016-06-24 12:31 GMT+02:00 ekke <ekke at ekkes-corner.org
> <mailto:ekke at ekkes-corner.org>>:
> just did a short test (Qt 5.7, QuickControls2 APP)
> tested Android 6.0.1 on BlackBerry PRIV:
> orientation change works between Portrait and Landscape
> but from Landscape to InvertedLandscape or from InvertedLandscape
> to Landscape there was no signal
> for me no problem - don't have to distinguish
> InvertedPortrait couldn't be tested because my device doesn't
> allow this
> tested on iOS 9.3 (iPhone 6s)
> all signals are coming in
> Am 24.06.16 um 11:40 schrieb Wiktor Grębla:
>> Hi guys.
>> I've been trying to use orientationChanged signal to react on
>> orientation changes but somehow can't get it to work.
>> I've seen some old threads with similar reports (Qt-5.3) but I'm
>> more keen to believe that I'm doing something wrong rather than
>> it's not working.
>> I've tried it on Qt-5.6 and now on Qt-5.7:
>> I'll be grateful for any hints or suggestions.
>> Talkers are no good doers.
>> Android-development mailing list
>> Android-development at qt-project.org
>> <mailto:Android-development at qt-project.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Android-development