Re: [SailfishDevel] QStandardPaths not working when app is run from Launcher

2014-01-20 Thread Sylvain B .
m the Terminal, but that's not that important :) Thanks for your answers!! Sylvain. Date: Mon, 20 Jan 2014 11:19:38 +0200 From: vesa-matti.hartikai...@jolla.com To: devel@lists.sailfishos.org Subject: Re: [SailfishDevel] QStandardPaths not working when app is run from Launcher

Re: [SailfishDevel] QStandardPaths not working when app is run from Launcher

2014-01-20 Thread Vesa-Matti Hartikainen
Hi, I think QStandardPaths use applicationName and organizationName when constructing paths. So solution would be something like app->setApplicationName("harbour-yourapp"); app->setOrganizationName("harbour-yourapp"); And then QStandardPaths will start giving paths that follow harb

Re: [SailfishDevel] QStandardPaths not working when app is run from Launcher

2014-01-19 Thread Robin Burchell
Hi, Can you please provide a small sample demonstrating this? As I’m quite sure it works for our own uses. BR, Robin On 19 Jan 2014, at 14:34, Sylvain B. mailto:sth...@hotmail.com>> wrote: Hey, My app did not want to read the some cached content it was supposed to have written in QStandardPa

[SailfishDevel] QStandardPaths not working when app is run from Launcher

2014-01-19 Thread Sylvain B .
Hey, My app did not want to read the some cached content it was supposed to have written in QStandardPaths::CacheLocation. To understand why, I tried to run it from the terminal, and... everything is working fine. Since we don't have logs when we run the app directly from Launcher, I updated it