Re: [SailfishDevel] ContextKit not installed?
On Monday, 4 May 2020 15.30 Martin Kampas wrote: > > it isn't recognized in the > > editor, "QML module does not contain information about components > > contained in the plugins". > > I checked that now and I confirm this is a bug - the package does not > provide the QML type information. > > You can work this around by using qmlplugindump on your device to generate > a plugins.qmltypes file and copy it into the corresponding plugin > directory under ~/ SailfishOS/mersdk/targets//usr/lib/qt5/qml/. I'm not sure I follow: The file missing on my PC is ~/SailfishOS/mersdk/targets//usr/lib/qt5/qml/org/freedesktop/contextkit/plugin.qmltypes ? I should run qmlplugindump on the device? From which folder? -- Med venlig hilsen / Best regards Thomas Tanghus A: Because it breaks the logical sequence of discussion Q: Why is top posting bad? signature.asc Description: This is a digitally signed message part. ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] ContextKit not installed?
Hi Thomas, > it isn't recognized in the > editor, "QML module does not contain information about components contained > in the plugins". I checked that now and I confirm this is a bug - the package does not provide the QML type information. You can work this around by using qmlplugindump on your device to generate a plugins.qmltypes file and copy it into the corresponding plugin directory under ~/ SailfishOS/mersdk/targets//usr/lib/qt5/qml/. BR, Martin ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] ContextKit not installed?
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? signature.asc Description: This is a digitally signed message part. ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org