From 57ac821376911b8f328a2e75c14c0715c3b15b18 Mon Sep 17 00:00:00 2001 From: Marco Bernasocchi Date: Tue, 1 Nov 2022 23:19:26 +0100 Subject: [PATCH] Temporary fix to avoid a dead QField on iOS (#3553) Co-authored-by: Mathieu Pellerin --- src/core/qgismobileapp.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/qgismobileapp.cpp b/src/core/qgismobileapp.cpp index e8c7a6941c..a05634b19e 100644 --- a/src/core/qgismobileapp.cpp +++ b/src/core/qgismobileapp.cpp @@ -270,6 +270,7 @@ QgisMobileapp::QgisMobileapp( QgsApplication *app, QObject *parent ) if ( !dataDirs.isEmpty() ) { +#ifndef Q_OS_IOS // add extra proj search path to allow copying of transformation grid files QString path( proj_info().searchpath ); QStringList paths; @@ -307,6 +308,7 @@ QgisMobileapp::QgisMobileapp( QgsApplication *app, QObject *parent ) free( newPaths[i] ); } delete[] newPaths; +#endif #ifdef Q_OS_ANDROID for ( const QString &dataDir : dataDirs )