If anyone interested, this is also one of mine, with surely some mistakes and omissions , sorry : https://m.youtube.com/watch?v=TE-s5522v0Y
In french: https://m.youtube.com/watch?v=lU6J01XB4pc
Just to share my experience for developping Apps with QtCreator:
( A rewrite from https://gist.github.com/lduboeuf/dcf22607207d5b7abc8ac966d20942ce )
To get Ubuntu.Components recognized by QtCreator:
## Get public Ubports key wget -qO - https://repo.ubports.com/pubkey.gpg | sudo apt-key add - ##add ubports repository sudo add-apt-repository "deb https://repo.ubports.com/ [bionic|xenial] main" ##install Ubuntu.components sudo apt install qml-module-ubuntu-components ##qml components should be installed in "/usr/lib/x86_64-linux-gnu/qt5/qml" ##set the environnement variable to profile echo "export QML_IMPORT_PATH=/usr/lib/x86_64-linux-gnu/qt5/qml" >> ~/.profile ##reload env or you might need to logout/login source ~/.profile
##run container clickable docker run -i -t --entrypoint /bin/bash clickable/ubuntu-sdk:16.04-amd64 ##in an another terminal, get the container id docker ps ##copy ubuntu components to local folder docker cp [container id]:/usr/lib/x86_64-linux-gnu/qt5/qml/ /your/local/directory ##set the environnement variable to profile echo "export QML_IMPORT_PATH=/your/local/directory" >> ~/.profile ##reload env or you might need to logout/login source ~/.profile ##stop container docker stop [container id]
example here: https://github.com/lduboeuf/ut-qtcreator , use branch "add module" branch for installing also some UT qml modules
EDIT: Now clickable provide a Qtcreator IDE with
clickable ide qtcreator command
Well, my first native app just landed on Openstore. https://open-store.io/app/ttbn.lduboeuf
I've only used QQC2 components and imported needed svg icons from suru theme.
I admit that as a QML beginner, it was sometimes hard to make things work and displayed correctly... color theme is still not that good.
But i'm happy that i can now build for multi os and still use QtCreator.
Thanks for all your examples
@Mystic-X hello, i'm working on it, will land hopefully soon, at least for having a birthday field on the contact app
follow-up here: https://github.com/ubports/address-book-app/issues/5
as @LarreaMikel says, a Phone that can be easily hacked. A fast browser . I would prefer easy data sync (calendar, contacts, notes,... ) than convergence.
Wondering if any up to date overview / architecture schemas available somewhere ?
Last one i know of are from old Cannonical Ubuntu Touch days: https://www.slideshare.net/chihchun/ubuntu-phone-engineering and https://www.slideshare.net/tusharkute/introduction-to-ubuntu-edge-operating-system-ubuntu-touch
We might create some in documentation overview section.
Working behind proxy is sometimes so painfull ;-), i share my experience to get
clickable working behind a corporate proxy:
clickable setup-lxd, then it will hang when trying to fetch apt updates
/var/lib/lxd/containers/clickable-armhf/rootfs/etc/apt/apt.conf.d/01proxywith proxy settings:
Acquire::http::Proxy "url:port"; Acquire::https::Proxy "url:port";
lxc exec clickable-armhf -- apt-get update lxc exec clickable-armhf -- apt-get upgrade
lxc exec clickable-armhf -- apt-get install click
it should work now.
On Qt Creator I can develop "normal" Qt programs. If I want to open a Clickable project, there are a lot of Errors with the CMakeLists.txt and I cannot edit this project.
If you want to stay on QtCreator, you can have autocompletion for Ubuntu Components by importing them on your PC:
(see topic 1 or 2 ) https://gist.github.com/lduboeuf/dcf22607207d5b7abc8ac966d20942ce
I can just answer for vcf:
The import vcf file is already there but only accessible from outside ( that is you select your file in filemanager and open it in contact-app).
I've managed to provide this feature directly from contact app. Hope it will land soon, just waiting for review
@hummlbach yes something that can bring contributions more easily i think.
If it allows to have translations and CI easily setup, would be nice.
@dobey yeah sure it can turn messy very quickly
So can Stellarium be part of the family ?, and with a proper namespace too ( today it is me.lduboeuf ). As the big challenge for me was to port and make it usable for UT, i would to let it fly its way.
As well for sfxr, drumkit, and almost all apps that i've ported, i would be pleased to leave them part of a kind of "ubports incubator" or "ubports app" organisation on gitlab.
I would like to put Stellarium app or others projects to a more community place, can it be a good candidate to move here https://gitlab.com/ubports/apps ?
Can it also benefit of Ubports weblate server as well as setting up the CI for click builds?
In Stellarium UBports the Cosmic Disk and the Ecliptic are almost on the same level but as far as I know the Cosmic Disk should be offset by around 60 degrees. Compare Stellarium Desktop.
Thanks for reporting. Well i'm not an Astronomer too :), i'm afraid i can't do anything right now