Re: [Interest] QML Settings fails persistance on Android

2018-09-27 Thread René Hansen
For now I've reported QTBUG-70419 , with my own suggestion for the fix. It's been given P1. /René On Fri, 31 Aug 2018 at 18:09 Paolo Angelelli wrote: > I also have had several issues (mostly persistence issues) with > Qt.labs.settings. > In the end u

Re: [Interest] QML Settings fails persistance on Android

2018-08-31 Thread Paolo Angelelli
I also have had several issues (mostly persistence issues) with Qt.labs.settings. In the end using QSettings directly seemed to work alright, and so i kept using that. A pity since Qt.labs.settings looks much easier to use, but nevertheless.. On Fri, 31 Aug 2018 13:26:05 +0200 René Hansen wrote

Re: [Interest] QML Settings fails persistance on Android

2018-08-31 Thread maitai
I use both, in the backend it is just declared as a QSettings in private variables. QSettings settings; And it can access or set settings set or used by the qml part. Philippe. Le 31-08-2018 14:38, René Hansen a écrit : > I guess you have a QSettings instance instead of using the QML Settin

Re: [Interest] QML Settings fails persistance on Android

2018-08-31 Thread René Hansen
I guess you have a QSettings instance instead of using the QML Settings component then? /René On Fri, 31 Aug 2018 at 14:35 maitai wrote: > Hi, > > Here I have a slot in my backend (c++) that is called each time the app > goes to background (from override onPause() in java). I do sync() there. >

Re: [Interest] QML Settings fails persistance on Android

2018-08-31 Thread maitai
Hi, Here I have a slot in my backend (c++) that is called each time the app goes to background (from override onPause() in java). I do sync() there. Philippe. Le 31-08-2018 13:26, René Hansen a écrit : > Hi, > > I've run into a number of weird cases where properties on a SETTINGS element >

[Interest] QML Settings fails persistance on Android

2018-08-31 Thread René Hansen
Hi, I've run into a number of weird cases where properties on a *Settings* element doesn't properly persist between launches of an app. Initially I used aliasing quite heavily for it's syntactic ease, as per the main example from the docs. However, I found that sometimes only part of the the pro

[Interest] QML Settings

2015-05-12 Thread Federico Buti
Hi list(s) I was considering the usage of Settings QML for an app I'm working on. I just need to store two-three strings across mobile platforms and the API seems to fit my use case. However, I'm not able to make it work properly and I'm w