Re: [SailfishDevel] Problems with the emulator (I think)

2013-11-17 Thread Lauri Lavanti
Hi, I mentioned it on a later message, but everything seems to work now. Thanks everyone! -- Lauri Lavanti laurilava...@gmail.com -- Lähettäjä: Juha Kallioinen Lähetetty: 18.11.2013 0:17 Vastaanottaja: Sailfish OS Developers Aihe: Re: [SailfishDevel] Problems with the

Re: [SailfishDevel] How to use setContext() or what is recommended?!

2013-11-17 Thread Mariano Boragno
I was wondering exactly the same as Gabriel and Andrey's code solved my problem. Thanks a lot, guys!!! ...Mariano Boragno... On Wed, Nov 13, 2013 at 12:25 PM, Andrey Kozhevnikov wrote: > This is almost same what SailfishApp::main() does for you and it keeping > booster working, just lets you

Re: [SailfishDevel] Problems with the emulator (I think)

2013-11-17 Thread Juha Kallioinen
Hi Lauri, you don't mention which SDK installer you have used. That would be vital information in troubleshooting this and any future problems :-) None of the problems below seem to concern the SDK emulator. I believe these are build time problems? On 16.11.2013 12:42, Lavanti Lauri wrote:

Re: [SailfishDevel] ListModel sorting in QML

2013-11-17 Thread Artem Marchenko
I had similar situation in the past. Data was coming from web, but I needed to rearrange it for QML lists to work. What I found useful and working was to just generate a new model in JavaScript (based on empty ListModel if I recall correctly). I had only a couple of dozens of data and it was chang

Re: [SailfishDevel] ListModel sorting in QML

2013-11-17 Thread Tigre-Bleu
Ok, thanks I will create my own model with sorting capabilities Antoine - Mail original - De: "Andrey Kozhevnikov" À: devel@lists.sailfishos.org Envoyé: Dimanche 17 Novembre 2013 14:05:39 Objet: Re: [SailfishDevel] ListModel sorting in QML afaik the use of JSONListModel not intended th

Re: [SailfishDevel] ListModel sorting in QML

2013-11-17 Thread Andrey Kozhevnikov
afaik the use of JSONListModel not intended the sorting functions. you need to make own model and sort json data before pushing it to model. On 17.11.2013 18:39, Tigre-Bleu wrote: Hi, I have a ListView which loads a model from JSON with JSONListModel. The model contains items and category ids,

[SailfishDevel] ListModel sorting in QML

2013-11-17 Thread Tigre-Bleu
Hi, I have a ListView which loads a model from JSON with JSONListModel. The model contains items and category ids, but is not sorted by category. What I wand to do is to display the items sorted by categories in the ListView. I have put a section.property in the ListView but it is working only

Re: [SailfishDevel] Problems with the emulator (I think)

2013-11-17 Thread Alessandro Portale
Perhaps your project configuration still has some old SDK paths in it. Two different ways of fixing this: - Delete and Re-add the SailfishOS kit(s) in the "Project" mode in Qt Creator - Manually delete the .user file from you project folder and open the Project in Qt Creator Cheers, Alessandro