-
Bug
-
Resolution: Cannot Reproduce
-
Not Evaluated
-
None
-
5.0.2, 5.1.0
-
None
Qt.include can only load plain old js files.
When using Qt.include to import a file that has any Qt specific .import statements at the top, it will fail to load these.
Eg.
import.js
.import my.test 1.0 as Imported
include.js
var result = Qt.include("import.js"); // result will have failed
If this is working as intended, it should be stated in the documentation.
.pragma in included files works without problems.