Fix android build

This commit is contained in:
Brad Davis 2019-08-29 15:46:50 -07:00
parent 6aa967f29f
commit 82a49d4641

View file

@ -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) {