Skip to content

Commit

Permalink
Fix predictive text on Android
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasMizera committed Apr 17, 2024
1 parent 89b2e7a commit 66a9e2c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,11 @@ int main( int argc, char *argv[] )

init_qgis( appBundleDir );

#ifdef ANDROID
// See https://bugreports.qt.io/browse/QTBUG-86982 -> fix to make the predictive text disabled on Android
qputenv( "QT_ANDROID_ENABLE_WORKAROUND_TO_DISABLE_PREDICTIVE_TEXT", "1" );
#endif

// AppSettings has to be initialized after QGIS app init (because of correct reading/writing QSettings).
AppSettings as;

Expand Down

0 comments on commit 66a9e2c

Please sign in to comment.