PDA

View Full Version : Opening Serial Port in ui



reg
12th January 2017, 06:36
Hi,
I am so new in qt,
I am designing a ui which controls hardware,
So I need to reach serial port,
I use the example code exactly, but when I compile it, there is an error :
QIODevice::write (QSerialPort) : device not open

I already check the hardware with Control Panel and it seems everything is ok.
Thanks for help.

marcos.miranda
12th January 2017, 21:09
Hi, Reg.

What OS do you use Linux, Windows ...?

d_stranz
13th January 2017, 16:36
@marcos: Big hint here:


I already check the hardware with Control Panel

marcos.miranda
17th January 2017, 09:18
Of course D_Stranz, you right, Windows to here in the post.

Sorry for not replying soon.
Follow the link with information that can help you.

https://www.youtube.com/watch?v=AX-HhBXBzGg