Problem with ScoreView in 3.x

• Apr 29, 2019 - 07:16

I tried to convert my plugin for 3.0, but I hit a problem.
Code:
ScoreView
{
id: scoreview1
width: 700
x: 0
y: 0
color: "transparent"
}

Error:
"ScoreView is not a type"

Did something change in regards to ScoreViews? Do I maybe need to use a higher QtQuick.Controls version?

Thanks for any help :-)


Comments

I think the builtin plugin 'ScoreView' (view.qml) suffers from the same issue (and hasn't been ported yet for that reason).
I don't believe it has got to do anything with the version of QtQuick being used, but you could just try,

import QtQuick 2.2
import QtQuick.Controls 1.1

More likely ScoreView is not exposed to the plugin framework anymore, not in the "MuseScore 3.0" module

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