summaryrefslogtreecommitdiffstats
path: root/src/corelib/io
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2017-11-30 14:20:32 +0100
committerLars Knoll <lars.knoll@qt.io>2017-11-30 13:49:46 +0000
commit50117d738af526cbfbd5afa50b9a501acb0fb9ce (patch)
tree5fb3608be6186836f0379ecf570f34cedfbc84cc /src/corelib/io
parent984ad6124992c9831f57c2776aa2ed0a760149e6 (diff)
Android: use a canonical data dir for Qt environment variablesv5.10.0-rc3v5.10.0
ApplicationInfo.dataDir holds "/data/user/0" (Blackberry PRIV running Android 6.0.1), which is in fact a soft link to "/data/data". This directory is used as a prefix for various Qt environment variables, including QML2_IMPORT_PATH, which in turn is used for resolving QML type URIs, looking up Qt Quick Controls 2 styles, and so on. The QML engine is not happy with "/data/data" and "/data/user/0" being wildly mixed for QML types in the same module. Use the canonical path instead to avoid such conflicts. Change-Id: I1fd45736728ee662942d7ef48c3fbc553981c59b Task-number: QTBUG-64868 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/corelib/io')
0 files changed, 0 insertions, 0 deletions