mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 13:53:26 +02:00
Fixing android
This commit is contained in:
parent
7d5502eb92
commit
fcb59a4ee6
1 changed files with 2 additions and 0 deletions
|
@ -254,8 +254,10 @@ void OffscreenQmlSurface::initializeEngine(QQmlEngine* engine) {
|
|||
if (!javaScriptToInject.isEmpty()) {
|
||||
rootContext->setContextProperty("eventBridgeJavaScriptToInject", QVariant(javaScriptToInject));
|
||||
}
|
||||
#if !defined(Q_OS_ANDROID)
|
||||
rootContext->setContextProperty("FileTypeProfile", new FileTypeProfile(rootContext));
|
||||
rootContext->setContextProperty("HFWebEngineProfile", new HFWebEngineProfile(rootContext));
|
||||
#endif
|
||||
rootContext->setContextProperty("Paths", DependencyManager::get<PathUtils>().data());
|
||||
rootContext->setContextProperty("Tablet", DependencyManager::get<TabletScriptingInterface>().data());
|
||||
rootContext->setContextProperty("Toolbars", DependencyManager::get<ToolbarScriptingInterface>().data());
|
||||
|
|
Loading…
Reference in a new issue