Re: [SailfishDevel] sudo doesn't work in platform SDK

2016-12-23 Thread Andrew Branson
I think the new guide says it should go in /srv for that reason. Remember to mount or link /parentroot/srv to your chroot one! Else you won't see the targets. Glad it helped, Andrew On Friday, 23 December 2016, Erik Lundin wrote: > Thanks, Andrew, that was the problem! I had it installed in a

Re: [SailfishDevel] sudo doesn't work in platform SDK

2016-12-23 Thread Erik Lundin
Thanks, Andrew, that was the problem! I had it installed in a folder in my home directory, which is on an ecryptfs file system. When using the default (/srv) instead, it seems to work. This should be added to "Known Issues" in the article on the wiki. /Erik Den 2016-12-23 kl. 21:11, skrev Andrew

Re: [SailfishDevel] sudo doesn't work in platform SDK

2016-12-23 Thread Andrew Branson
Hi, Where's your sdk installed? I had a problem when I tried to install it in my home. It was an encrypted home which was mounted with nosetuid, which overrode the setuid flag on the sudo binary. Hope that helps, Andrew On Friday, 23 December 2016, Erik Lundin wrote: > Hello, > > I'm trying

[SailfishDevel] Testing LocalStorage in QtQuick Tests

2016-12-23 Thread Oliver Schmidt
Hi I'm writing a database migration for a LocalStorage 2.0 database and want to add a unit test for that. As the app is nearly completely written in QML and Javascript, I'm using the QtTest QML type for that. For this testcase I want to open a database with testdata, let the migration run and c

[SailfishDevel] sudo doesn't work in platform SDK

2016-12-23 Thread Erik Lundin
Hello, I'm trying to get going with the platform SDK, following https://sailfishos.org/wiki/Platform_SDK_Installation, but sudo doesn't seem to work. This is what I get when entering the SDK environment: erik@zix:~/dev$ sfossdk [sudo] password for erik: Mounting system directories... Mounting / a

[SailfishDevel] package sailfish-components-webview-qt5 seg fault

2016-12-23 Thread Иван Черненький via Devel
Guys help plz In the project I want to use ** sailfish.webview 1.0 **. It is part of the package sailfish-components-webview-qt5. This package is installed into the architecture through Sailfish Control Centre. The .pro file added PKGCONFIG + = qt5embedwidget and .yaml PkgBR file:    - Qtmozemb

[SailfishDevel] (no subject)

2016-12-23 Thread Иван Черненький via Devel
Guys help plz In the project I want to use ** sailfish.webview 1.0 **. It is part of the package sailfish-components-webview-qt5. This package is installed into the architecture through Sailfish Control Centre. The .pro file added PKGCONFIG + = qt5embedwidget and .yaml PkgBR file:    - Qtmozemb