[SailfishDevel] Share code for apps

Michael Fuchs michfu at gmx.at
Wed Dec 12 11:39:16 UTC 2018


Hi Sailors,

I would like to share code (qml and c++) in two apps (namely daedalus 
and SMPC).

I want both apps to have the almost same interface and so they have some 
qml components and c++ code in common.

How would you organize this ?

My favorite would be having both apps in one repository and change as 
little as necessary to the standard build-process of Sailfish.

Should I (not?) use symlinks?
e.g. daedalus/qml/common -> common/qml

Would you prefer using three repos (daedalus, SMPC, common)?

Are there any existing examples?

Thanks for your hints,
Michael.





More information about the Devel mailing list