[SailfishDevel] Help for Syncthing App

Andrew Penkrat penkrat8 at gmail.com
Mon Mar 14 14:41:40 UTC 2016


Hi Michael,

3) You understand it right, just upload an i486 rpm.

4)
win32: VAR = VALUEw
unix: VAR = VALUEx

Best regards,
Andrew Penkrat

2016-03-14 17:31 GMT+03:00 Yuvraaj <yuvraaj at gmail.com>:

> [nemo at Jolla ~]$ ls /sys/class/power_supply/
> dollar_cove_battery  dollar_cove_charger
>
> [nemo at Jolla ~]$ ls /sys/class/power_supply/*/online
> /sys/class/power_supply/dollar_cove_charger/online
>
>
>
> On 03/14/2016 03:37 AM, Michael Fuchs wrote:
>
>> Hi Sailors,
>>
>> I'm working on this app
>>
>> https://openrepos.net/content/fooxl/syncthing-sf
>>
>> and would need some help please.
>>
>> 1.) Could a tablet owner please send the output of
>>
>> $ ls /sys/class/power_supply/
>>
>> and
>>
>> $ ls /sys/class/power_supply/*/online
>>
>> ?
>>
>> 2.) I'm using QSyncThingTray for the c++ API Implementation and there are
>> two lines which produce an error on compilation, so i commented them out. I
>> guess this is, because the code was written for Qt5.5 and we are using 5.2
>>
>>
>> https://github.com/fuchsmich/syncthing-sf/blob/master/qst/apihandler.hpp#L220
>>
>> The error is about that it->toObject(); doesnt exist. How can I
>> workaround this? The code is about counting the number of active
>> connections.
>>
>>
>> 3.) If I want to publish a version for the tablet, do I just have to
>> upload a i486 rpm, which works in the emulator?
>>
>>
>> 4.) How can I make an if-statement in a .pro-file, which recognizes the
>> platform (arm vs. i486). (Like this:
>>
>> win32 {
>>     VAR = VALUEw
>> }
>> unix {
>>     VAR = VALUEx
>> }
>>
>> Thanks, Michael.
>> _______________________________________________
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to
>> devel-unsubscribe at lists.sailfishos.org
>>
>
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscribe at lists.sailfishos.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20160314/0f01297f/attachment.html>


More information about the Devel mailing list