Re: [SailfishDevel] Technical question: populating ListModel from C++

2014-05-23 Thread Markus Svensson
Hi, I have done the same thing in my Sailfish learning project. It was way more complicated than I would have liked it to be (or maybe I did it in the wrong way...). Feel free to have a look at how I implemented it: https://github.com/Ortofta/SilicaNote The code quality is probably not the be

Re: [SailfishDevel] Out of curiosity: why are you developing for SailfishOS?

2014-01-10 Thread Markus Svensson
I do it because I like learning new stuff. My main language day to day language is Java, and Sailfish is an interesting platform for keeping up with C++ and QT. I also like to think that it should be fairly easy to port Sailfish apps to Ubuntu Phone as well. As long as the back end and GUI are k

Re: [SailfishDevel] No inbox? -> SMS

2014-01-10 Thread Markus Svensson
Ah - tap-and-pan, never tried that particular gesture :) But it does work - thanks for pointing it out. /M > 10 jan 2014 kl. 11:48 skrev Kalle Vahlman : > > 2014/1/10 Markus Svensson : >> >>> Just tap on the text to move the cursor. For precision placement, hold >&

Re: [SailfishDevel] No inbox? -> SMS

2014-01-10 Thread Markus Svensson
> Just tap on the text to move the cursor. For precision placement, hold > your finger down until it zooms in. > This does not work for me. Holding does nothing more than selecting the text. No zoom or percussion movement capability. It's the biggest reason I don't use my Jolla for email and S

Re: [SailfishDevel] No inbox?

2014-01-09 Thread Markus Svensson
Good luck - and there certainly are some ux issues in both the SMS and email apps that needs fixing before this device is ready for mainstream use. > 10 jan 2014 kl. 00:43 skrev Chris Walker > : > > On Thu, 09 Jan 2014 22:08:42 +0100 > Markus Svensson wrote: > >> Hi, &g

Re: [SailfishDevel] No inbox?

2014-01-09 Thread Markus Svensson
tocol" [29591] jan 09 21:57:42 [Debug] SMTP : Closed connection: "Socket error" when using SSL - but then I switched to TLS and it works! So, now I've finally got working email on my Jolla. :) Regards, Markus 9 jan 2014 kl. 18:16 skrev Reto Zingg : > Hi, > > On

Re: [SailfishDevel] No inbox?

2014-01-09 Thread Markus Svensson
Hi, I've never been able to get email fully working on the Jolla either. I can receive email via IMAP, but can't send via SMTP. I just get the "Problem with sync" message. Does the mail app log errors somewhere on the device? > 9 jan 2014 kl. 16:22 skrev Chris Walker > : > > On Thu, 09 Jan 2

Re: [SailfishDevel] Problem with QQmlListProperty

2013-12-31 Thread Markus Svensson
Thanks, Janne - I've spent hours trying to get that working. :) Happy new year! Regards, Markus 31 dec 2013 kl. 05:35 skrev Janne Kokko : > Remove "static" keyword and put correct scope for the methods in cpp file: > > 2013/12/29 Markus Svensson : >> Hi guy

[SailfishDevel] Problem with QQmlListProperty

2013-12-29 Thread Markus Svensson
Hi guys, I'm trying to expose my database layer to QML via a QQmlListProperty - however I'm running into problems... I've probably set it up wrong - but I can't figure out where. My C++ skills are a bit rusty after years and years of Java work... :) This is my setup code: QQmlListProperty Not

Re: [SailfishDevel] Jolla owner - day 1

2013-12-21 Thread Markus Svensson
Hi guys, I also received my device yesterday. I was able to both register in the Yandex store as well as register my Google account. I did perform both activities before applying the OTA software update, IIRC. Regards, Markus Skickat från min iPhone > 21 dec 2013 kl. 21:51 skrev Ville Tiensuu

Re: [SailfishDevel] Problem running "old" project on QT5

2013-10-09 Thread Markus Svensson
rom: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] > on behalf of Markus Svensson [markus.svens...@me.com] > Sent: Sunday, October 06, 2013 10:59 PM > To: devel@lists.sailfishos.org > Subject: Re: [SailfishDevel] Problem running "old" project on QT5 > >

Re: [SailfishDevel] Problem running "old" project on QT5

2013-10-06 Thread Markus Svensson
kl. 22:20 skrev Jonni Rainisto : > Hi, > > Usually it helps to point to the problem if you would give url to your git > repo. If not then "rgrep -i declarative *" might do the trick. > > re, Jonni > From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sail

[SailfishDevel] Problem running "old" project on QT5

2013-09-19 Thread Markus Svensson
Hi all, I'm in the process of migrating my app from the old QT4 alpha of the SDK to the latest QT5-based version. I'm running into problems when I try to deploy to the emulator: /opt/sdk/SilicaNote/opt/sdk/bin/SilicaNote: error while loading shared libraries: libQtDeclarative.so.4: cannot open

Re: [SailfishDevel] Persistent storage

2013-06-19 Thread Markus Svensson
Thank you, Thomas. I probably should read the docs more closely. :) Regards, Markus 20 jun 2013 kl. 00:27 skrev Thomas Perl : > On Jun 19, 2013, at 10:53 PM, Markus Svensson wrote: >> Does anyone know where the emulator stores the SQLite databases? I would >> like to inspect

Re: [SailfishDevel] Persistent storage

2013-06-19 Thread Markus Svensson
30 maj 2013 kl. 21:04 skrev Markus Svensson : > Cool - thanks! > > 30 maj 2013 kl. 19:56 skrev Erlend Böe : > >> Hei Markus, >> >> It is already included in the simulator. >> All I had to do was to add >> QT+=sql to the qmake project file. >>

Re: [SailfishDevel] Persistent storage

2013-05-30 Thread Markus Svensson
wrote: > >> SQLite is in use on a wide range of applications. I would assume it would be >> bundled on the device along with the other core Qt plugins. >> >> On 5/30/2013 6:18 AM, Markus Svensson wrote: >>> Hi Chris, >>> >>> Thank you for yo

Re: [SailfishDevel] Persistent storage

2013-05-29 Thread Markus Svensson
undle it separately? Thanks! Skickat från min iPhone 29 maj 2013 kl. 21:31 skrev christopher.l...@thurweb.ch: > Hi Markus > > SQLite works for me, but you need to install the packages to the SDK and > Emulator first. > > Grüsse > > Chris > > Zitat von "Mar

[SailfishDevel] Persistent storage

2013-05-29 Thread Markus Svensson
Hi, What is the preferred way of doing persistent database type storage in a Sailfish OS application? I'm thinking of using QT Quick's Offline Storage API - will this work, or is there a better way? Thanks! Regards, Markus ___ SailfishOS.org Devel m