Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.5.1
-
c7cdbe4cc (dev), 2e5dd66c7 (6.5), b601165dc (6.6)
Description
See the attached sample which contains a signal with the unit "°C". QCanDbcFileParser cannot read that signal and produces a warning, "Failed to find signal description in string...", and then drops the signal completely.
This occurs because QCanDbcFileParser uses QString::fromLatin1(): https://github.com/qt/qtserialbus/blob/v6.5.1/src/serialbus/qcandbcfileparser.cpp#L342
Attachments
Issue Links
- resulted in
-
QTBUG-115281 QCanDbcFileParser: provide API to supply file contents as a QString
-
- Closed
-
For Gerrit Dashboard: QTBUG-114619 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
486148,3 | Accept any printable character in CAN DBC char_string | dev | qt/qtserialbus | Status: MERGED | +2 | 0 |
486345,2 | Accept any printable character in CAN DBC char_string | 6.6 | qt/qtserialbus | Status: MERGED | +2 | 0 |
486346,2 | Accept any printable character in CAN DBC char_string | 6.5 | qt/qtserialbus | Status: MERGED | +2 | 0 |