Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
5.15.5, 6.1.1
Description
Currently we can use qmlRegisterSingletonType() to register a QML file as singleton type in a module, but it doesn't work for a JS file and just crash.
I also tried QJSEngine::importModule() and QJSEngine::evaluate() as replacement, but both of them don't work when CONFIG+=qtquickcompiler