[mu͒3] the Math object

• May 8, 2024 - 00:05

I’ve built a plugin and gave it to someone to test which uses Math.trunc(). They report that it got terminated with:

file:///home/…/export-location-info-phys.qml:494: TypeError: Property 'trunc' of object [object Math] is not a function

This worked for me though, so… why?


Comments

In reply to by Jojo-Schmitz

Apparently, the MuseScore 3 Portable AppImage, on Ubuntu focal IIUC in case that matters. (It also complains on cmd("unroll-repeats"); if there are no repeats in the score, is that new (as in post-3.2.3)?)

On my side, where it works, I have Qt 5.15.

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