Re: [SailfishDevel] Ho to analyse app crash when re-starting app fails

2014-07-23 Thread Dmitriy Purgin
Hello, many thanks for the info, it seems to be the trouble! I'll check this out later. Cheers 2014-07-23 12:29 GMT+06:00 Tomasz Sterna : > Dnia 2014-07-23, śro o godzinie 09:23 +0600, Dmitriy Purgin pisze: >> QML did somehow destroy my object > > Are you aware of QQmlEngine::ObjectOwnership [1]

Re: [SailfishDevel] Ho to analyse app crash when re-starting app fails

2014-07-22 Thread Tomasz Sterna
Dnia 2014-07-23, śro o godzinie 09:23 +0600, Dmitriy Purgin pisze: > QML did somehow destroy my object Are you aware of QQmlEngine::ObjectOwnership [1]? "QML uses a heuristic to set the default object ownership. By default, an object that is created by QML has JavaScriptOwnership." "Objects not-cr

Re: [SailfishDevel] Ho to analyse app crash when re-starting app fails

2014-07-22 Thread Dmitriy Purgin
Hi, Can you please show myProperty() and dataDir? Have you tried without setContextProperty? I had the similar issue when trying to put my custom object containing SailfishApp* and QQuickView* as a context property to QML in its ctor, and QML did somehow destroy my object (maybe the reason was in

[SailfishDevel] Ho to analyse app crash when re-starting app fails

2014-07-22 Thread Andreas Heil
Hi again, I recently run into a new issue, I do not know how to address. The app start both, in simulator and on a device (deployed via Warehouse) without any problem. Once the app is closed and restarted, it crashes right after the "Loading..." screen. Is there any best practice to analyse