Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
supaiku_ last edited by supaiku_
I had been under the impression that .pragma library meant "loads only once". That's correct for QML files importing JS files,
but not for JS files importing other JS files.
The JS file loaded by the QML file, doesn't share the context with the same file loaded from a JS script.
I hope this is a bug?
This copies all functions from the other file into the current file's namespace, but ignores all pragmas and imports defined in that file.