Enumerations objects are undefined in plugins with Qt 5.12.4
Reported version
3.2
Priority
P0 - Critical
Type
Functional
Frequency
Once
Severity
S2 - Critical
Reproducibility
Randomly
Status
closed
Regression
No
Workaround
No
Project
The issue is reproducible for me in my builds with Qt 5.12.4 but not in AppImages (that use Qt 5.9.3) so this may be related to Qt version. But this is seemingly reproducible not exactly always.
Steps to reproduce:
1) In Plugin Manager activate the "random" standard plugin.
2) (optional) restart MuseScore
3) Click Plugins→random in menu.
Result: empty score appears. Console says something like that:
unknown:unknown: QMetaProperty::read: Unable to handle unregistered datatype 'Ms::PluginAPI::Enum*' for property 'Ms::PluginAPI::PluginAPI_QML_88::Element'
file:///home/piton/p/musescore/build/musescore/share/mscore-pr-3.1/plugins/random.qml:unknown: file:///home/piton/p/musescore/build/musescore/share/mscore-pr-3.1/plugins/random.qml:38: TypeError: Cannot read property 'TIMESIG' of undefined
Fix version
3.2.3
Comments
See https://github.com/musescore/MuseScore/pull/5187
Fixed in branch master, commit 9188534a83
fix #291512: fix enumerations objects not available in qml with Qt 5.12.4
Fixed in branch master, commit dc1e9756fd
_Merge pull request #5187 from dmitrio95/plugins-enums-undefined1
fix #291512: fix enumerations objects not available in qml with Qt 5.12.4_
Automatically closed -- issue fixed for 2 weeks with no activity.