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)

javispedro 2015-03-19 17:51

Re: Jolla developing
 
Quote:

Originally Posted by zeebra (Post 1464382)
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?

"lack of libc"?

Not only you can install gcc/make on it, but it's also much cleaner than on the N900 -- where the compilers in the official SDK repo had some problems thanks to scratchbox1 contamination.


Quote:

Originally Posted by juiceme (Post 1464443)
The SFOS SDK is actually quite nice.

I don't think it's precisely the most "integrated" one (being a VM). I'd wish one could use the scratchbox2 tarballs on any distribution (e.g. by putting required Mer-specific host binaries on a special prefix?). But at least you can put it in a chroot, which IMHO makes it "nicer".

pycage 2015-03-20 07:41

Re: Jolla developing
 
Quote:

Originally Posted by zeebra (Post 1464382)
One of the worst things about Nokia N900 is the lack of libc and core GNU components.

The lack of bash doesn't mean the lack of libc. N900, N9, and Jolla all have proper libc, unlike Android. The choice of busybox only affects you if you want to do shell scripts on the N900.

Quote:

Originally Posted by zeebra (Post 1464382)
Does Jolla support libc/make/gcc?

The same as Mer. You can install the whole toolchain from the mer-tools repository.

Quote:

Originally Posted by zeebra (Post 1464382)
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 N900 was released in late 2009, almost 2010.

pichlo 2015-10-13 17:35

Re: Jolla developing
 
Wasn't sure where to ask so I ask here. Seems just a good a place as any, short of starting a new thread.

I am trying to build an existing Harmattan application on Sailfish. I have absolutely zero time and incentive to faff around with SDKs so I am building it on the phone itself. Please bear that in mind and please, please, please avoid answers of the "use the SDK" type. If I cannot build it on the phone itself, I cannot build it at all. Simple as that.

So, here it goes. I have the Harmattan sources. QMake gives me:

Code:

Project ERROR: Unknown module(s) in QT: declarative
I am sure there will be more problems later but one at a time.
'pkcon search name declarative' gives me a loooong list, containing amongst others...

Code:

Installed      qt5-qtdeclarative-5.2.1+git39-1.32.3.armv7hl    Qt Declarative library
Available      qt5-qtdeclarative-5.2.1+git39-1.32.3.source    Qt Declarative library

I assume I need the 'sources' package but how do I get it on the phone?
(Yes, I am such a noob! :o)

tiempjuuh 2015-10-13 18:33

Re: Jolla developing
 
Code:

pkcon install <name of package>
I personally prefer zypper to manage the packages, then it will be
Code:

zypper in <name of package>

pycage 2015-10-13 18:42

Re: Jolla developing
 
Quote:

Originally Posted by pichlo (Post 1485414)
Wasn't sure where to ask so I ask here. Seems just a good a place as any, short of starting a new thread.

I am trying to build an existing Harmattan application on Sailfish. I have absolutely zero time and incentive to faff around with SDKs so I am building it on the phone itself. Please bear that in mind and please, please, please avoid answers of the "use the SDK" type. If I cannot build it on the phone itself, I cannot build it at all. Simple as that.

So, here it goes. I have the Harmattan sources. QMake gives me:

Code:

Project ERROR: Unknown module(s) in QT: declarative
I am sure there will be more problems later but one at a time.
'pkcon search name declarative' gives me a loooong list, containing amongst others...

Code:

Installed      qt5-qtdeclarative-5.2.1+git39-1.32.3.armv7hl    Qt Declarative library
Available      qt5-qtdeclarative-5.2.1+git39-1.32.3.source    Qt Declarative library

I assume I need the 'sources' package but how do I get it on the phone?
(Yes, I am such a noob! :o)

You need the 'devel' package for qt5-qtdeclarative to build it.

Oh, and the "use the SDK" answer is really what you want to hear. The SDK is a Sailfish system, too. That means, you could add the SDK-specific packages to your phone (a not so good idea on the phone's struggling btrfs filesystem IMHO) and build natively on your phone instead of in the SDK.

pichlo 2015-10-13 19:13

Re: Jolla developing
 
Quote:

Originally Posted by pycage (Post 1485424)
You need the 'devel' package for qt5-qtdeclarative to build it.

I know that much, but I have that installed already.

Quote:

Oh, and the "use the SDK" answer is really what you want to hear.
Trust me, I really don't.

pichlo 2015-10-14 12:42

Re: Jolla developing
 
Never mind, I found my answer.

coderus 2015-10-14 12:50

Re: Jolla developing
 
you should not use declarative module in Qt5, use QT += quick and QT += qml instead

coderus 2015-10-14 12:53

Re: Jolla developing
 
And the best place to solve dev questions is #sailfishos freenode irc channel :)

pichlo 2015-10-14 13:02

Re: Jolla developing
 
Quote:

Originally Posted by coderus (Post 1485507)
you should not use declarative module in Qt5, use QT += quick and QT += qml instead

Yes, that's what my link says ;)

Quote:

Originally Posted by coderus (Post 1485508)
And the best place to solve dev questions is #sailfishos freenode irc channel :)

I know, but I don't have time to hang around on IRC 24/7 :(


All times are GMT. The time now is 23:49.

vBulletin® Version 3.8.8