Reply
Thread Tools
javispedro's Avatar
Posts: 2,355 | Thanked: 5,249 times | Joined on Jan 2009 @ Barcelona
#11
Originally Posted by zeebra View Post
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.


Originally Posted by juiceme View Post
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".
 

The Following 3 Users Say Thank You to javispedro For This Useful Post:
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#12
Originally Posted by zeebra View Post
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.

Originally Posted by zeebra View Post
Does Jolla support libc/make/gcc?
The same as Mer. You can install the whole toolchain from the mer-tools repository.

Originally Posted by zeebra View Post
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.
__________________
Tidings - RSS and Podcast aggregator for Jolla - https://github.com/pycage/tidings
Cargo Dock - file/cloud manager for Jolla - https://github.com/pycage/cargodock
 

The Following 4 Users Say Thank You to pycage For This Useful Post:
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#13
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! )
 

The Following 2 Users Say Thank You to pichlo For This Useful Post:
tiempjuuh's Avatar
Posts: 202 | Thanked: 165 times | Joined on Jul 2012 @ Apeldoorn, Netherlands
#14
Code:
pkcon install <name of package>
I personally prefer zypper to manage the packages, then it will be
Code:
zypper in <name of package>
__________________
Nokia N900 hw rev. 2204
Nokia N9 16GB black hw rev. 1507
Jolla + LETOH
 
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#15
Originally Posted by pichlo View Post
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! )
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.
__________________
Tidings - RSS and Podcast aggregator for Jolla - https://github.com/pycage/tidings
Cargo Dock - file/cloud manager for Jolla - https://github.com/pycage/cargodock
 

The Following 3 Users Say Thank You to pycage For This Useful Post:
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#16
Originally Posted by pycage View Post
You need the 'devel' package for qt5-qtdeclarative to build it.
I know that much, but I have that installed already.

Oh, and the "use the SDK" answer is really what you want to hear.
Trust me, I really don't.
 
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#17
Never mind, I found my answer.
 

The Following 3 Users Say Thank You to pichlo For This Useful Post:
coderus's Avatar
Posts: 6,436 | Thanked: 12,699 times | Joined on Nov 2011 @ Ängelholm, Sweden
#18
you should not use declarative module in Qt5, use QT += quick and QT += qml instead
__________________
Telegram | Openrepos | GitHub | Revolut donations
 

The Following 2 Users Say Thank You to coderus For This Useful Post:
coderus's Avatar
Posts: 6,436 | Thanked: 12,699 times | Joined on Nov 2011 @ Ängelholm, Sweden
#19
And the best place to solve dev questions is #sailfishos freenode irc channel
__________________
Telegram | Openrepos | GitHub | Revolut donations
 

The Following User Says Thank You to coderus For This Useful Post:
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#20
Originally Posted by coderus View Post
you should not use declarative module in Qt5, use QT += quick and QT += qml instead
Yes, that's what my link says

Originally Posted by coderus View Post
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
 

The Following User Says Thank You to pichlo For This Useful Post:
Reply

Tags
developing, sailfish os


 
Forum Jump


All times are GMT. The time now is 08:01.