Re: [SailfishDevel] QtContacts and Calendar access doesn't work after update.
Could you please give me a link hon how to connect to the phone with permissions that will allow me to edit this file. Thanks. Am 01.02.2014 13:02, schrieb Bernd Wachter: Andrey Kozhevnikov coderusin...@gmail.com writes: same here for QtContacts: contactsdatabase.cpp:1028 static QSqlDatabase ContactsDatabase::open(const QString): Unable to create contacts database directory: /home/nemo/.local/share/system//privileged/Contacts/qtcontacts-sqlite Add your application to /usr/share/mapplauncherd/privileges (this will be overwritten on system updates, and only suitable for use on your phone, not for harbour) ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] QtContacts and Calendar access doesn't work after update.
Matthias I connect via ssh as user nemo by calling the following from a terminal on my development workstation: ssh -p 22 -i ~/.ssh/jolla_rsa nemo@192.168.2.17 See the link below for more details how to connect: http://flyingsheeponsailfish.blogspot.ch/2014/01/connecting-to-jolla-with-rsa-key-file.html Once connected as user nemo, I change to user root by: devel-su The password is the one shown on the Jolla under Settings / Developer Mode / Developer Tools. Once connected as root execute the following commands: cd /usr/share/mapplauncherd cp privileges privileges.old echo /usr/bin/landed26_QT5,p privileges replace landed26_QT5 with the name of your app. The p permission is for people GrĂ¼sse Chris Zitat von Matthias Barmeier barme...@barmeier.com: Could you please give me a link hon how to connect to the phone with permissions that will allow me to edit this file. Thanks. Am 01.02.2014 13:02, schrieb Bernd Wachter: Andrey Kozhevnikov coderusin...@gmail.com writes: same here for QtContacts: contactsdatabase.cpp:1028 static QSqlDatabase ContactsDatabase::open(const QString): Unable to create contacts database directory: /home/nemo/.local/share/system//privileged/Contacts/qtcontacts-sqlite Add your application to /usr/share/mapplauncherd/privileges (this will be overwritten on system updates, and only suitable for use on your phone, not for harbour) ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] QtContacts and Calendar access doesn't work after update.
same here for QtContacts: contactsdatabase.cpp:1028 static QSqlDatabase ContactsDatabase::open(const QString): Unable to create contacts database directory: /home/nemo/.local/share/system//privileged/Contacts/qtcontacts-sqlite On 01.02.2014 17:06, Matthias Barmeier wrote: Hi, I experimented with QtContacts and Calendar access extracted from the Jolla calendar. After the update I cannot access the calendar nor the contacts database anymore. I now that these APIs are not stable, but I need remote contacts and calendar sync I had implemented to prove Jolla in all day use. What can I do make it work again ? Are there Update for the SDK I missed ? Is recompilation and deployment sufficient ? Ciao Matze ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] QtContacts and Calendar access doesn't work after update.
Andrey Kozhevnikov coderusin...@gmail.com writes: same here for QtContacts: contactsdatabase.cpp:1028 static QSqlDatabase ContactsDatabase::open(const QString): Unable to create contacts database directory: /home/nemo/.local/share/system//privileged/Contacts/qtcontacts-sqlite Add your application to /usr/share/mapplauncherd/privileges (this will be overwritten on system updates, and only suitable for use on your phone, not for harbour) ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] QtContacts and Calendar access doesn't work after update.
ah, you removed privileged bit by default from booster? okay, thank you :) On 01.02.2014 18:02, Bernd Wachter wrote: Andrey Kozhevnikov coderusin...@gmail.com writes: same here for QtContacts: contactsdatabase.cpp:1028 static QSqlDatabase ContactsDatabase::open(const QString): Unable to create contacts database directory: /home/nemo/.local/share/system//privileged/Contacts/qtcontacts-sqlite Add your application to /usr/share/mapplauncherd/privileges (this will be overwritten on system updates, and only suitable for use on your phone, not for harbour) ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] QtContacts and Calendar access doesn't work after update.
This hack will use all users of my application. I will notice them about situation, about Sailfish update removed easy way to fetch contacts database without making another one, and users should reinstall application after each system upgrade. Well done :) On 01.02.2014 18:25, Bernd Wachter wrote: Andrey Kozhevnikov coderusin...@gmail.com writes: btw, is there any automation for adding executable to this list, or i should make own code for scriptlet? This is a hack for using things on your own device we can't allow in harbour (yet) - no automation/official way to do it ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list