From 82a49d4641642ca232e84390d1b9f51055a6124c Mon Sep 17 00:00:00 2001 From: Brad Davis Date: Thu, 29 Aug 2019 15:46:50 -0700 Subject: [PATCH] Fix android build --- interface/src/ui/InteractiveWindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/interface/src/ui/InteractiveWindow.cpp b/interface/src/ui/InteractiveWindow.cpp index d977c45f85..e63c392a47 100644 --- a/interface/src/ui/InteractiveWindow.cpp +++ b/interface/src/ui/InteractiveWindow.cpp @@ -234,8 +234,10 @@ InteractiveWindow::InteractiveWindow(const QString& sourceUrl, const QVariantMap auto contextInitLambda = [&](QQmlContext* context) { // If the restricted flag is on, the web content will not be able to access local files ContextAwareProfile::restrictContext(context, restricted); +#if !defined(Q_OS_ANDROID) FileTypeProfile::registerWithContext(context); HFWebEngineProfile::registerWithContext(context); +#endif }; auto objectInitLambda = [&](QQmlContext* context, QObject* object) {