maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   Jolla developing (https://talk.maemo.org/showthread.php?t=94734)

Makkara 2015-03-14 19:02

Jolla developing
 
Hello

Is there any documentation and/or tutorial for Jolla?
If I watch QML tutorials, will they work at least almost the same way when creating a Jolla app?

Thanks

-noob

tmi 2015-03-14 19:50

Re: Jolla developing
 
https://sailfishos.org/develop/ should get you started.
The SDK has some examples and studying other people's code (e.g. from Github) is one way to learn. Here's one collection of open source apps https://github.com/sailfishapps

coderus 2015-03-14 19:53

Re: Jolla developing
 
Quote:

Originally Posted by Makkara (Post 1464069)
Hello

Is there any documentation and/or tutorial for Jolla?
If I watch QML tutorials, will they work at least almost the same way when creating a Jolla app?

Thanks

-noob

Yes you can start with Digia articles about Qt5/QtQuick2 and it will apply to SailfishOS also, you just need to use native Sailfish Silica UI components instead of desktop QtQuick.Controls.

max_power 2015-03-15 18:21

Re: Jolla developing
 
You can also take a look at a demo application on github https://github.com/amarchen/helloworld-pro-sailfish

llelectronics 2015-03-15 22:21

Re: Jolla developing
 
There are also several videos about it on youtube. Just search for Jolla SDK and you will find a few. Some old ones but as a basic start still good enough.

zeebra 2015-03-18 21:16

Re: Jolla developing
 
Is it a requirement to use an SDK to develop programs/apps for Jolla?

SDK is really a really big no no in general. Does Jolla not have the tools to install for example GCC?

One of the worst things about Nokia N900 is the lack of libc and core GNU components.

As far as I know Mer is GNU and not busybox, right?

Does Jolla support libc/make/gcc?

If not, then Jolla is no better than N9 which was pretty bad compared to N900 which again was not perfect. The natural way forward from N900 which used Busybox was ofcourse full GNU and replace GTK with QT and keep everything else.

This unfortunately did not happen, which still makes Nokia N900 king of mobile devices in 2015, which is quite sad considering it was released in 2008.

The mobile marked sucks!

MartinK 2015-03-18 23:10

Re: Jolla developing
 
Quote:

Originally Posted by zeebra (Post 1464382)
Is it a requirement to use an SDK to develop programs/apps for Jolla?

No, you don't have to:
https://together.jolla.com/question/...h-on-sailfish/

In short, you can comfortably develop QML only or Python & QML applications directly on the device. And you can use the Mer OBS with the Sailfish OS target to build stuff that needs to be compiled (it is quite easy to reuse packaging from other RPM based distros such as Fedora).

Not sure about installing compilers & co. directly on the device but I don't think anything technical should be preventing that as long as the needed packages are available.

juiceme 2015-03-19 12:54

Re: Jolla developing
 
Of course you can install the usual compilers and tools to Jolla, it is a Mer-Linux-distribution after all.
If it wasn't so, how would you be able to compile your kernel on it, huh??

[nemo@Jolla ~]$
[nemo@Jolla ~]$ gcc --version
gcc (Linaro GCC 4.6-2013.05) 4.6.4 20130412 (Mer 4.6.4-1)
Copyright © 2011 Free Software Foundation, Inc.
Tämä ohjelma on vapaaohjelmisto; Katsokaa kopiointiehdot lähdekoodista.
Tällä ohjelmistolla EI OLE TAKUUTA; ei edes KAUPALLISESTI HYVÄKSYTTÄVÄSTÄ
LAADUSTA tai SOPIVUUDESTA TIETTYYN TARKOITUKSEEN.
[nemo@Jolla ~]$

aegis 2015-03-19 14:33

Re: Jolla developing
 
Quote:

Originally Posted by zeebra (Post 1464382)
SDK is really a really big no no in general

OK, why is it a really big no no?

I couldn't imagine anything worse than having to develop on device with no tools.

juiceme 2015-03-19 16:44

Re: Jolla developing
 
Quote:

Originally Posted by aegis (Post 1464435)
OK, why is it a really big no no?

I think he means, it is an overkill if you just want to create console applications. For that no "SDK" is needed, just standard toolchains is perfect.


Quote:

Originally Posted by aegis (Post 1464435)
I couldn't imagine anything worse than having to develop on device with no tools.

Sure, but tools come in many sizes and shapes. There are some "SDK's" that I hate like hell because they come diagonally in your way when you are trying to accomplish something. The SFOS SDK is actually quite nice.


All times are GMT. The time now is 11:42.

vBulletin® Version 3.8.8