Hi Dylan,

I guess you have to install webview component in the target:

https://lists.sailfishos.org/pipermail/devel/2016-July/007318.html

and maybe then restart qtcreator.
The code highlighting/completion depends on the currently selected kit (i486/
arm). So if you're just using the emulator during testing and coding its 
enough to install webview just in i486.

cheers, Michael.




On Samstag, 3. Dezember 2016 10:41:01 CET Dylan Van Assche wrote:
> 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


_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Reply via email to