QField
QField copied to clipboard
A round of windows fixes
This fixes install path for proj data on windows (and I assume OSX). No regression on the Android front.
🎉 Ta-daaa, freshly created APKs are available for c40f1fcd815cb34ee6b7fc1bc03b1ec9913533da: arm64-android
Other architectures
With this commit, QField on Windows can find the proj.db, and reprojection works flawlessly:
@m-kuhn , when testing QField on windows, I noticed that upon first launch after installing QField, the systemSharedDataLocation() returned C:\ (only once). That's bad (in part because it's needed to properly initiate the qgis profile database creation, etc.)
Googling a bit about QCoreApplication::applicationDirPath(), it seems that's not as reliable as QCoreApplication::applicationFilePath(), hence the commit here. That should give us reliable paths.
@m-kuhn , first launch issue fixed, brilliant.