Android: give no canonical name to entries missing from the APK


QFileInfo has no canonical path for a file that doesn't
exist, but the APK file engine returned one for any path
inside the APK. QDir::canonicalPath() then accepted
directories that aren't in the APK, and QCoreApplication
kept them in its library paths, since it skips only paths
without a canonical path.

Pick-to: 6.12
Change-Id: Ie923d70efa1963db5320bd02996d0d5d21df43b0
Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
commitd72fa877c1e22fd26f73d5f167f1f6307cef7e9c
parent3da58b37b8709904284f9fac413d9c40940fc9db
authorAssam Boudjelthia <assam.boudjelthia@qt.io>
committerAssam Boudjelthia <assam.boudjelthia@qt.io>
commit timeTue, 20 Oct 2026 10:41:23 +0000