mirror of
https://github.com/JulianGro/overte.git
synced 2025-05-01 17:27:39 +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) {
|
auto contextInitLambda = [&](QQmlContext* context) {
|
||||||
// If the restricted flag is on, the web content will not be able to access local files
|
// If the restricted flag is on, the web content will not be able to access local files
|
||||||
ContextAwareProfile::restrictContext(context, restricted);
|
ContextAwareProfile::restrictContext(context, restricted);
|
||||||
|
#if !defined(Q_OS_ANDROID)
|
||||||
FileTypeProfile::registerWithContext(context);
|
FileTypeProfile::registerWithContext(context);
|
||||||
HFWebEngineProfile::registerWithContext(context);
|
HFWebEngineProfile::registerWithContext(context);
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
auto objectInitLambda = [&](QQmlContext* context, QObject* object) {
|
auto objectInitLambda = [&](QQmlContext* context, QObject* object) {
|
||||||
|
|
Loading…
Reference in a new issue