Make JS-object available in any file without import. How?
Unsolved
QML and Qt Quick
-
Hello all!
I have object in JavaScript file. I want to make it available in any QML file without direct manual import in it.
Is there any way to do it?For example:
I am extending "console" object in "extend_console.js" and I want to make it available in any QML files without
import "extend_console.js" as Console;