[SailfishDevel] How to use sailfish-components-webview

Dylan Van Assche dylan.van.assche at protonmail.com
Sat Dec 3 15:41:01 UTC 2016


Hi developers,

I was looking to this new component which is available since the 2.0.5 release: https://github.com/sailfishos/sailfish-components-webview
I tried to import it into my project with this:
import Sailfish.Webview 1.0
However QTCreator can't find this plugin, I guess I need to install it manually in QTCreator?
I already installed the component in the MER SDK by running the following command:
zypper install sailfish-components-webview-qt5 sailfish-components-webview-qt5-devel sailfish-components-webview-qt5-pickers sailfish-components-webview-qt5-popups -y
They installed fine without any problem on the 2.0.5 SDK release.

But still QTCreator can't find the plugin: QML module not found (when I hover my mouse over the import statement).

Someone who knows the trick here to fix this?

Kind regards,
Dylan Van Assche
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20161203/87d94f15/attachment.html>


More information about the Devel mailing list