Android app seems like exits on Back Button (in main activity)
-
Hello!
I have one activity: @class MyActivity: extends Activity@
When i launch my app through application launcher and then press back button something strange occures.
Namely, my cpp class destructor is called:main.cpp:
@QQuickView view;
myClass *myClassObj = new myClass (&view);
@myClass.h
@explicit myClass (QObject *parent = 0): QObject(parent) { qDebug("myClass Ctor"); }@
as i don't implicitly delete myClassObj seems like view is destroyed, but (the strange thing) MyActivity's onDestroy() is not called. So it seems like app exits but not completly;)
But! But when i hold and press Home button to get list of running apps i see my app, but when i click on it it opens like a new instance (my changings are lost in this "instance").
I'm using Qt5.3.1 and Qt5.4.0.
Help me, i'm stuck.
-
Seems like i found the "solution":https://bugreports.qt.io/browse/QTBUG-29063