import QtQml 2.0 import ModuleWithJS QtObject { objectName: Foo.unknownFunc() }