4 ms·
QML already uses js? If you want to use the same API of an existing web framework, I'm sure that wouldn't work, since QML is exposing C++ objects to js code, s
by guappa 3y ago
QML already uses js?
If you want to use the same API of an existing web framework, I'm sure that wouldn't work, since QML is exposing C++ objects to js code, so the API is set.
- Double_a_92 3y agoBut it's still an extra overhead that you need to first understand, instead of just writing a JS file with your code and then loading it.
- guappa 3y ago> instead of just writing a JS file with your code and then loading it If your js does no I/O at all, you can write pure js. But if you want to show some results, there is no way that you can do it without learning the relevant API to do that.
- noahadavis 3y agoEvery library is overhead that you need to first understand. There's no "just writing a JS file" or just writing a C++/C#/Java/Python/etc. file.