Porting plugins to MS4

• Sep 7, 2022 - 11:36

Hi,
Is there anything needed to port plugins to MS4 ?
I tried all my plugins in the last alpha and none of them are working :-(
At the best, they open (but badly), at the worst they do nothing.

Some examples

Alternate Fingerings

In MS3

AltFingMS3.png

in MS4

AltFingMS4.png

mcveMS4

Really basic plugin (but with a custom component) - see attached file

in MS3

mcveMS4 in MS3.png

in MS4

.... nothing ....

(Rem: I already open in issue regarding this one on Github, for another (but maybe linked) reason)

So, is there anything special to do to port MS3 plugins to MS4 or are these non-working plugins bugs in MS4 ?

Attachment Size
mcveMS4.zip 1.4 KB

Comments

In reply to by Jojo-Schmitz

No custom plugins in 4.0 is a bad news.
Does it worth keeping on testing and reporting issues with the MS3 plugin on MS4 ?


Could you test this basic one in MS4 ?
For me, nothing happens... :-/

import QtQuick 2.2
import MuseScore 3.0
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.1 // was 1.3 in MS3, but 1.1 in Temperaments
//import QtQuick.Window 2.3

MuseScore {
    menuPath: "Plugins.testBasicGUI"
    description: "This plugins shows a BasicGUI "
    version: "1.0"
    requiresScore: false
    pluginType: "dialog"
    id: mainWindow
    //width: container.childrenRect.width + (container.anchors.margins * 2)
    //height: container.childrenRect.height + (container.anchors.margins * 2)
    width : 300
    height : 300

    ColumnLayout {
        id: container
        anchors.margins: 5
        anchors.fill: parent
        spacing: 5
        CheckBox {
            text: "I'm the default component"
            checked: true
        }

        Button {
            text: qsTranslate("QPlatformTheme", "Close")
            Layout.alignement: Qt.AlignLeft
            onClicked: {
                //mainWindow.parent.Window.window.close();
                Qt.quit();
            }
        }
    }
}

In reply to by Jojo-Schmitz

I corrected it in the Plugin Creator where I ran it successfully, but did not save it. And then copied un-saved to my MS4 test folder. This is the inconvenient of no longer having the Plugin Creator in MS4.
For me the plugins are crucial piece of my workflow (especially my Duration editor), without which I can't work in MS). So I'll wait until this is all set back in MS4 before looking back at MS4.

Do you still have an unanswered question? Please log in first to post your question.