Um... that's Java code.
See http://doc.qt.io/qt-5/qtquickcontrols-touch-main-qml.html for a QML Back button mapping using stack view.
Sent: Tuesday, May 03, 2016 at 1:38 PM
From: "Nuno Santos"
To: "Qt Interest"
Subject: Re: [Interest] Back button crashes Qt app o
It seems that back button by default deletes the activity. It seems that I’m
not able to override the back button action and therefore, it is killing my
activity. During this delete force, it is crashing the app.
Any special remarks in order to override the back button function on a Qt
Android
Nope. WORKSFORME.
Sent: Tuesday, May 03, 2016 at 10:09 AM
From: "Nuno Santos"
To: "Qt Interest"
Subject: [Interest] Back button crashes Qt app on Android
Hi,
I have noticed the if I press the back button in a Qt Android app, it crashes.
Does anyone here had the same problem?
Rega