Ahoj,
i know i do get frustrated quickly but i also do not stop then, so i do continue, it just is now fun then …
so i am in my personal lockdown so i thought lets use to 2-3 days to rewrite my app from scratch.
the last logic was in typescript which i converted to js that was consumeable by qml, now i ve chosen python.
the goal is to have my app also in an android version for my wife so…
python alone was fun and quick, i definately do not do everything correct, but i have my classes, my tests, what is tested works
it took me less then a day for a first version and 1.5 for the current one, max
then i’ve started with the ui and qml part and here it starts:
-
including pyotherside, wrapper classes etc. maybe half a day with a lot of stupid bugs, is still okish, the documentation could really be better.
-
and now for the rest: currently i have spent like 60hrs on this. the app is 50% done only, not talking about localization and the final finalization effort.
but featurewise i am like 50% done, only
where do i permanently loose time ?
- file deployment, yaml, rpm … took hrs
you can find the qml dir names, but the rpm constants … beside bindir ? - fucking js typos,
- the ide usability, like useless text prediction
- debugger can not connect to vm, so just using console for debugging etc
- no tests cause no docu online,
i would love to have some test for the js / qml side to speed up, again nothing on the official pages, the example test does not work out of the box. finallly found that link today: Development for Sailfish OS: Unit Testing Qt / C ++ for Sailfish OS / Sudo Null IT News. - manual test effort due to see above
so lets stop here
how does an efficient setup look like ? i can not imagine that the nice apps were written like that. i know there is sfdk and i used it once for okboard but where is documentation ?
i would really love to have either a working project boiler template with tests that work
or stupid git repo to clone from or a step by step recipe
thanks
P