[SailfishDevel] harbour rejects user files in a Documents subfolder?

Jonni Rainisto jonni.rainisto at jolla.com
Wed Jan 22 09:54:37 UTC 2014


thats the problem, as rpm checker script does: `strings yourbinary | grep "/home/nemo/"` so if it finds a hit, it gives a reject.

re, Jonni
________________________________________
From: devel-bounces at lists.sailfishos.org [devel-bounces at lists.sailfishos.org] on behalf of wsvries [wsvries at xs4all.nl]
Sent: Wednesday, January 22, 2014 11:42 AM
To: devel at lists.sailfishos.org
Subject: Re: [SailfishDevel] harbour rejects user files in a Documents subfolder?

Andrey Kozhevnikov schreef op 2014-01-22 10:30:
> just use QStandartPath or at least QDir::Home instead of hardcoding
> /home/nemo

I use the env.var. "HOME" (which is normally set to "/home/nemo"), and
only if that fails it falls back to "/home/nemo


> On 22.01.2014 15:29, Wim de Vries wrote:
>> Hi,
>> My checklists app got rejected by harbour again because of user data
>> files :-( .
>> My app creates a checklistdata folder under Documents (one
>> default/example data file is copied there after first start up).
>> Harbour doesn't want that:
>>
>> "File creation in "/home/nemo/Documents/" is not allowed, if these are
>> not user documents. Files should be stored in $XDG_DATA_HOME".
>>
>> $XDG_DATA_HOME is silly for users:
>> my users must be able to copy there PC created checklist files (plain
>> text) via USB to their Jolla device.
>> $XDG_DATA_HOME is hidden, and even if it wasn't, it is very contra
>> intuitive place for normal user to find.
>> All users know the Documents folder.
>> Any harbour people, having suggestions (a $XDG_ folder would render
>> the app completely useless)?
>> Thanks
>> _______________________________________________
>> SailfishOS.org Devel mailing list
>
> _______________________________________________
> SailfishOS.org Devel mailing list
_______________________________________________
SailfishOS.org Devel mailing list


More information about the Devel mailing list