-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
Qt Creator 10.0.2
-
-
c8ecacb33 (master), eef56c79b (master)
Throughout QtCreator version numbers appear in lexicographical order rather than "natural" or "human" order.
This is confusing.
Is Qt 5.15 newer than 5.2? No.
Then why does Qt 5.2 show up BELOW 5.15?
Places where this applies (from a quick check, there may be others)
- Autocomplete for imports
- "Projects" tab where different build environments are maintained
- Initial target selection when a CMakeLists.txt.user is not found
Current behavior is to display in lexicographical ascending order.
Ideally versions should show in "natural" descending order.
```
import QtQuick ___
6.5
6.2
2.15
2.13
2.9
```
For Gerrit Dashboard: QTCREATORBUG-29509 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
501587,2 | StringUtils: Use natural sorting in caseFriendlyCompare() | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
501590,2 | ProjectExplorer: Use natural sorting for kits | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |