Can I use arrow functions in a plugin?

• Sep 18, 2019 - 13:21

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?


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.

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