-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.7.0
-
None
-
-
a24baed01 (dev), ec00e1045 (6.8), e095743cf (tqtc/lts-6.5), a0a51f3af (tqtc/lts-6.2)
To reproduce:
- Run app using QML from a network drive and have a `%` somewhere in the path to the executable.
The issue is in `qqmlimport_p.h:401-404`. When the path starts with `//`, `QUrl::toString(QUrl::removeScheme)` is used to convert the URL to string. Unfortunately, this seems to imply `PrettyEncoding` with produces a string with `%25` instead of `%`.
This completely breaks all QML imports. The application will not start properly. It will simply report `module "QtQuick.Window" is not installed` although all DLLs are present.
Please, no questions about running apps from network drives and having `%` in paths. People do.
For Gerrit Dashboard: QTBUG-129681 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
598272,3 | QtQml: Faithfully preserve UNC paths when locating qmldirs | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
598807,2 | QtQml: Faithfully preserve UNC paths when locating qmldirs | 6.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
598844,3 | QtQml: Faithfully preserve UNC paths when locating qmldirs | tqtc/lts-6.5 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |
598975,2 | QtQml: Faithfully preserve UNC paths when locating qmldirs | tqtc/lts-6.2 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |