diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 4b62e1d221..91f7528f93 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -3562,6 +3562,8 @@ void Application::setupQmlSurface(QQmlContext* surfaceContext, bool setAdditiona surfaceContext->setContextProperty("WalletScriptingInterface", DependencyManager::get().data()); surfaceContext->setContextProperty("ResourceRequestObserver", DependencyManager::get().data()); surfaceContext->setContextProperty("PlatformInfo", PlatformInfoScriptingInterface::getInstance()); + // This `module` context property is blank for the QML scripting interface so that we don't get log errors when importing + // certain JS files from both scripts (in the JS context) and QML (in the QML context). surfaceContext->setContextProperty("module", ""); } }