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 kat...@web.de wrote: Hi Matze, I observed

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

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,

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/appname I can start the app and get access to