Re: [SailfishDevel] Cannot access phone book on phone when starting app from QtCreator

2014-01-06 Thread Matthias Barmeier
Hi Andrey, Thanks A Lot !!! That worked without any problems. In QtCreator went to Projects. I set the Execute/Run ? (my QtCreator is in German) and set the executable to /usr/bin/invoker. After setting the arguments to "--type qtquick2 /usr/bin/" I can start the app and get access to the con

Re: [SailfishDevel] Cannot access phone book on phone when starting app from QtCreator

2014-01-06 Thread Andrey Kozhevnikov
change your launch parameters to use invoker On 06.01.2014 19:14, Ove Kåven wrote: Den 05. jan. 2014 23:10, skrev Matthias Barmeier: Hi, I am unable to access the phone book when running my app from QtCreator on the phone. Is this a security feature ? I've needed to access PIM data myself, s

Re: [SailfishDevel] Cannot access phone book on phone when starting app from QtCreator

2014-01-06 Thread Ove Kåven
Den 05. jan. 2014 23:10, skrev Matthias Barmeier: Hi, I am unable to access the phone book when running my app from QtCreator on the phone. Is this a security feature ? I've needed to access PIM data myself, so, as far as I can tell from my own investigations, yes, it's Unix security. The dir

Re: [SailfishDevel] Cannot access phone book on phone when starting app from QtCreator

2014-01-06 Thread Timur Kristóf
Possibly because when you launch it from the SDK it runs either as a different user, or just isn't part of the session on the phone, ie. not all the environment variables are set, etc. Timur On Mon, Jan 6, 2014 at 1:23 AM, Karsten Todtermuschke wrote: > Hi Matze, > > I observed the same issu

Re: [SailfishDevel] Cannot access phone book on phone when starting app from QtCreator

2014-01-05 Thread Karsten Todtermuschke
Hi Matze, I observed the same issue. I used QtContacts 5.0 in Qml and selected "org.nemomobile.contacts.sqlite" from the available managers for ContactModel.manager In the output from the application started with QtCreator I read the error message: Unable to create contacts database directory

[SailfishDevel] Cannot access phone book on phone when starting app from QtCreator

2014-01-05 Thread Matthias Barmeier
Hi, I am unable to access the phone book when running my app from QtCreator on the phone. Is this a security feature ? Is it possible to work with a fake contact DB ? Ciao Matze ___ SailfishOS.org Devel mailing list