View Single Post
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: