You can technically execute some JS code in C++ that essentially does that and return the resulting QJSValue, but thats quite ugly IMO. I think it should up to the caller how they want to interpret...
`QStringEncoder` and `QTextCodec` seem to allocate resources that can be reused. Is it a good idea, performance-wise, to cache them in a `QMap` or something?
So I can expose enums to `QJSEngine` but C++ enum only accepts ints as value. Is there a way that I can use strings as value or modify the signature of this function to accepts either a QString or ...
Ah you're right. I expected a `TypedArray` and thus a `.forEach()`. So I'd need to do `new Uint8Array(midi.convertEncoding("ISO-8859-15", "Thing to display"))` from JS? Is there a way to directly r...
maybe an explicit cast to QByteArray will fix it?
```suggestion
QStringEncoder fromUtf16 = QStringEncoder(targetCharset.toUtf8().data());
if (!fromUtf16.isValid()) {
...
We have already the same for crates. Adding it for playlist should be no issue. https://github.com/mixxxdj/mixxx/blob/6efbf8cd83bd031dbb3d5e562fe4b863927cadd8/src/library/searchqueryparser.cpp#L84
...
Ok, I understand `beats_set_change_marker` is than a good fit.
@Holzhaus, you post reveals another conceptual issue, it is worth noting:
We have in one hand beat maps, where basically every...