Is it possible to show a web page hosted on the Internet in a plugin dialog ?
That is, to put some sort of a web browser control in a dialog and tell it to render some URL.
I tried something similar to this
https://stackoverflow.com/questions/48594113/how-to-use-qml-qwebview-in…
I tried the both ways: WebEngineView and WebView but I get error "plugin cannot be loaded for module "QtWebView": Cannot load library C:\Program Files\MuseScore 3.3 Beta 2\qml\QtWebView\declarative_webview.dll: The specified module could not be found."
I'm developer but have no experience with the Qt
Comments
IIRC WebView is dead, no longer part of Qt since Qt-5.7, and MuseScore 3 needs/uses Qt 5.9 at least. WebEngine is the replacement.
In reply to IIRC WebView is dead, no… by Jojo-Schmitz
Sorry, I was sure that I tried both of them (WebView and WebEngineView) and get similar error in the both cases but I tried again and it works. For instance, this works (I run it successfully on Windows 10 laptop):
import QtQuick 2.0
import QtWebEngine 1.4
import MuseScore 3.0
MuseScore {
menuPath: "Plugins.pluginName"
description: "Description goes here"
version: "3.0"
pluginType: "dialog"
width: 500
height: 500
}
In reply to Sorry, I was sure that I… by hstanekovic
I saw this post while searching for webengine info.
if you're still interested pls see https://musescore.org/en/handbook/developers-handbook/plugins-3x#youmay…
In reply to I saw this post while… by msfp
Thank you. I was able to solve my problem and develop this plugin for MS3:
https://musescore.org/en/project/harmony-analysis-tool-keys-chords-and-…