Re: [SailfishDevel] Mer PIM build questions

2018-01-18 Thread Lukáš Karas
Dne čtvrtek 18. ledna 2018 15:05:19 CET Pekka Vuorela napsal(a): > On Thu, 2018-01-18 at 12:57 +0100, Lukáš Karas wrote: > > Now the main question - when I try to build mer-core/timed, there are > > few > > `*.type` files that should be compiled by `iodata-qt5-type-to-c++`

Re: [SailfishDevel] Avahi error opening socket

2018-01-18 Thread Lukáš Karas
Just guessing, don't need Avahi open raw socket? Try to add capability CAP_NET_RAW to your avahi binary. sudo setcap cap_net_raw+p /path/to/avahi Lukas Dne čtvrtek 18. ledna 2018 16:53:03 CET Michael Fuchs napsal(a): > Hi, > > I'm trying to use avahi on Sailfish. > > I built it here: > >

Re: [SailfishDevel] Mer PIM build questions

2018-01-18 Thread Lukáš Karas
be able to compile it (as much as you can) > on regular SDK. At least, as far as I remember, carddav/caldav could be > done there. As for `iodata-qt5-type-to-c++` tool - no idea. > > Good luck, > > Rinigus > > On Thu, Jan 18, 2018 at 1:57 PM, Lukáš Karas <lukas.ka...@ce

Re: [SailfishDevel] How to build ipset for Sailfish?

2018-01-20 Thread Lukáš Karas
Hi. It should be possible to compile ipset kernel module (ipset.ko) and distribute it with your application. I was doing it with another modules when I was creating vpn (pptp), application for WebOS many years ago. But it has many cons. You will have to maintain modules for all kernel variants

[SailfishDevel] Mer PIM build questions

2018-01-18 Thread Lukáš Karas
Hi all. I am little bit frustrated from the state of PIM on SFOS. It is painful to use Sailfish on primary phone when you are using google services for managing contacts and calendars. From rare activity in buteo-sync-plugins-social repository [1] seems to me that noone is activelly

Re: [SailfishDevel] SilicaListView searchfield looses focus on search

2018-03-12 Thread Lukáš Karas
Try to setup `currentIndex` of `SilicaListView` to -1 explicitly... From my experience, when model of list view is updated, first delegated item steal focus from search field and keyboard is hidden... ``` SilicaListView { id: listView model:listModel.proxyModel

Re: [SailfishDevel] QML translations don't work

2018-03-09 Thread Lukáš Karas
Well, I am not familiar with Qt development in Python, but in C++ world, there is necessary to initialise translator before showing QML view... Try to look to these lines: https://github.com/Karry/osmscout-sailfish/blob/master/src/OSMScout.cpp#L147 // install translator QTranslator

Re: [SailfishDevel] SDK version 1804 (2.2.1) is released to all users

2018-09-22 Thread Lukáš Karas
Thank you for the update. But I have to ask - is there any plan to bring new GCC, with C++17 support? Or more precissely, is there any plan to use new libstdc++ ABI on Sailfish? It would be great to use c++17 features without extra complications - build and distribute all c++ libraries with

Re: [SailfishDevel] qt upgrade

2019-02-10 Thread Lukáš Karas
Hi all > > To sum up, no idea how much we can help with 5.9 transition and what's > holding it back specifically. > >From the Fosdem discussion, I feel like there is no big technical issue. There was message that majority of SFOS core components already has branches prepared for Qt 5.9.

Re: [SailfishDevel] Sailfish SDK 2.1 has been released to all users

2019-05-30 Thread Lukáš Karas
Hi Sailors. When I build my cmake-based project with recent SDK, everything works fine, but Harbour is refusing generated packages with this error message: No OS version and packages satisfy package requirements: Requirement libstdc++.so.6(CXXABI_1.3.8) not available Requirement

Re: [SailfishDevel] Sailfish SDK 2.1 has been released to all users

2019-06-18 Thread Lukáš Karas
káš, > > Unfortunately this is a bug with the Harbour rules - please folow this > report on TJC https:// > together.jolla.com/question/206727/harbour-is-rejecting-rpm-package-build-b > y-latest-sdk/ > > BR, > Martin > > On čtvrtek 30. května 2019 8:11:40 CEST Lukáš Karas wrote: >

Re: [SailfishDevel] How to make a theme related icon

2019-12-11 Thread Lukáš Karas
Same approach, different code... I am using solution from Kimmo for doing that: https://together.jolla.com/question/44325/iconbutton-how-to-use-own-icons-with-highlight/ Dne úterý 10. prosince 2019 18:24:40 CET Slava Monich napsal(a): > I use this image provider in my Jolla store apps to

Re: [SailfishDevel] Harbour validation rules for SFOS 3.3

2020-05-12 Thread Lukáš Karas
Hi. > > You are right, these are both false positives. We will fix the > validator. I will let you know (on this list) when it's done. > Great to hear that :-) I may provide patch to speedup this fix, it seems to be simple shell script:

[SailfishDevel] Harbour validation rules for SFOS 3.3

2020-05-12 Thread Lukáš Karas
Hi. I updated my application OSM Scout yesterday and it was rejected to Harbout, because it contains "hardcoded paths". Even check in SDK fails, so I may reproduce it (http://localhost:8080/C/harbour_tools/). But the reason seems to be weird to me. For example recent export path in SVG file

Re: [SailfishDevel] Harbour validation rules for SFOS 3.3

2020-05-19 Thread Lukáš Karas
You are welcome! Thanks for update, I just re-submit OSM Scout 2.2 to Harbour. Lukas Dne úterý 19. května 2020 10:13:07 CEST Ville Nummela napsal(a): > On 12.5.2020 15.25, Ville Nummela wrote: > > On 12.5.2020 12.35, Lukáš Karas wrote: > >> Both cases looks like fa