[SailfishDevel] ContextKit not installed?

Thomas Tanghus thomas at tanghus.net
Mon May 4 09:49:53 UTC 2020


On Monday, 4 May 2020 07.12 Ville Nummela wrote:
> On 1.5.2020 10.24, Thomas Tanghus wrote
> 
> > [C] expression for network:71 -
> > file:///usr/share/harbour-dktv/qml/components/Network.qml:30 module
> > "org.freedesktop.contextkit" is not installed
> Maybe the error message is correct, and you don't have the
> org.freedesktop.context plugin installed? Without seeing your project
> this is just guessing, but my guess is that you don't have "Requires:
> contextkit-declarative-qt5" line in your .spec file.

You would be right in guessing so. I'm still not really familiar with
the build system, so I wasn't aware it was needed, AND I have been developing
on an app using it for years without that "Requires:" line. So ;)

https://github.com/tanghus/currency-converter-qml/blob/master/rpm/harbour-currencyconverter.spec#L19
https://github.com/tanghus/currency-converter-qml/blob/master/qml/components/Network.qml#L30
https://openrepos.net/content/tanghus/currency-converter-sailfishos

Anyways, it's working now - \o/ - except that it isn't recognized in the 
editor, "QML module does not contain information about components contained in the plugins".

Great, btw, that ViewPlaceholder, PageHeader etc. are properly recognized 
in the IDE 👍

-- 
Med venlig hilsen / Best regards

Thomas Tanghus

A: Because it breaks the logical sequence of discussion
Q: Why is top posting bad?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20200504/7d4b30e9/attachment.sig>


More information about the Devel mailing list