mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:04:13 +02:00
Fix android build
This commit is contained in:
parent
6aa967f29f
commit
82a49d4641
1 changed files with 2 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue