Error on importing org.freedesktop.contextkit [answered]
From the Rokua 3.3.0 release notes:
- qml contextkit backend changed. libstatefs-qt5 to be deprecated.
I get an error on import org.freedesktop.contextkit 1.0
file:///usr/share/harbour-currencyconverter/qml/harbour-currencyconverter.qml:32:1: module "org.freedesktop.contextkit" is not installed
import org.freedesktop.contextkit 1.0
This happened after I updated to 3.3.0.16. I was still using an old SDK, so I updated to the newest and rebuild/deployed again, but to no avail. The apps had worked fine thru several releases.
Imports okay for me, what SDK version are you using? I'm using;
Spam Hunter ( 2020-05-03 19:12:29 +0200 )editNewer SDK:
Tanghus ( 2020-05-04 00:58:38 +0200 )editahh, okay, I did look for the newer SDK but didn't find it.
EDIT, got it, thanks!
Spam Hunter ( 2020-05-04 01:18:53 +0200 )editApparently I was missing
Requires: contextkit-declarative-qt5
line in the .spec file.Weird as it wasn't needed before 3.3.0
Tanghus ( 2020-05-04 12:53:23 +0200 )edit