Its filePath() and absoluteFilePath() don't trust its own
isAbsolute(), due to some infelicities on MS-Win; and kludged round a
consequent problem with resource paths; but other virtual file systems
weren't catered for. Replace the convoluted test there with a static
bool function (so that future kludges in this area shall only need to
edit one place; and can document why they're needed) and use a more
robust test that handles all virtual file systems (by asking
QFileInfo) but falls back to QFileSystemEntry to work round the known
infelicities on MS-Win. Add regression test for asset library paths
issue on iOS. Ammends
|
||
|---|---|---|
| .. | ||
| entrylist | ||
| resources/entryList | ||
| searchdir | ||
| testData | ||
| testdir | ||
| types | ||
| .gitignore | ||
| Info.plist | ||
| android_testdata.qrc | ||
| qdir.pro | ||
| qdir.qrc | ||
| tst_qdir.cpp | ||