开发者

How to develop Serial Port with Qt Embedded

开发者 https://www.devze.com 2023-03-11 23:26 出处:网络
I\'m developping an software with Qt Embedded 4.7.1. N开发者_C百科ow, I need communicate with other device via Serial Port (sush as RS232), if anyone has some advice how to do that? Is there such a cl

I'm developping an software with Qt Embedded 4.7.1. N开发者_C百科ow, I need communicate with other device via Serial Port (sush as RS232), if anyone has some advice how to do that? Is there such a class in QtCore?

Thanks a lot.


There is no such class in QtCore, but there is QextSerialPort project. I'm not sure it will work with your OS,but you may at least look at it.


Qt 5.1(next release) includes QtSerialPort as a new module. It supports Windows, Mac and Linux!

QtSerialPort info: http://qt-project.org/wiki/QtSerialPort

0

精彩评论

暂无评论...
验证码 换一张
取 消