Can I use arrow functions in a plugin?
I am writing a plugin for MuseScore 3.3 and I am using the map
and reduce
methods of lists extensively. Is there a way to support arrow functions? Do I have to download something related to QML?
I am writing a plugin for MuseScore 3.3 and I am using the map
and reduce
methods of lists extensively. Is there a way to support arrow functions? Do I have to download something related to QML?
Do you still have an unanswered question? Please log in first to post your question.
Comments
Arrow functions are in ECMA Script 6, which requires Qt 5.12, which will be available in 3.3 for Windows only. If you use ECMA Script 6 features, you will guarantee that your plugin cannot be used by us people with Macs, for Mac MuseScore cannot advance to Qt 5.12 as long as support for people with MacOS 10.10 and 10.11 (not supported by Qt 5.12) remains a business requirement.
In reply to Arrow functions are in ECMA… by [DELETED] 1831606
MuseScore 3.x actually, all Windows versions of that use Qt 5.12
In reply to MuseScore 3.x actually, all… by Jojo-Schmitz
Then why isn't he seeing arrow functions?
In reply to Then why isn't he seeing… by [DELETED] 1831606
I am using Linux Mint :(
In reply to I am using Linux Mint :( by sotniarchos1
Jojo? What' s the Qt plan for Linux?
In reply to Jo-jo? What' s the Qt plan… by [DELETED] 1831606
.
In reply to Jo-jo? What' s the Qt plan… by [DELETED] 1831606
We only provide AppImages, and only have controol over those. Not sure though which Qt they use currently.
Help > About Qt would tell though