Hi. Because QIODevice is inconsistent with the CAN frames. The CAN uses a minimal entity - frame, which can not be divided to bytes. Besides, QIODevice's read/write/bytesAvailable methods has not sense, you can not read/write a half of frame and so on. You can not know a size of frame to serialize it, because its size is various. And others, others, others CAN specific reasons. Please, read comments in codereview commits on gerrit for acquaintance.
BR, Denis 08.09.2015 18:50, Benjamin TERRIER пишет: > Hi, > > Following the announce of Qt 5.6 Alpha, I checked the brand new > QCanBusDevice and I've been wondering why the developers did not want > to use QIODevice (the git logs show that all dependencies have been > purposely removed). > > Cheers, > > Benjamin > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest