Unsolved Terminal Example doesn't showing any data.
-
Hello to all!
When i run Terminal Example from Qt Creator it is connecting to COM port but there is no data in console, its empty.
I can see data from this COM port in Putty or other terminal program, but not in Terminal Example delivered by Qt.Can you help me?
Feel free to ask any questions)) -
@millyvolt said in Terminal Example doesn't showing any data.:
I can see data from this COM port in Putty or other terminal program, but not in Terminal Example delivered by Qt.
are you trying to connect to a UNIX/LINUX terminal over a serial connection?
That wont work, since the data sent by such terminals is way more complex than just bidirectional raw text. -
@raven-worx as i understand QSerialPort library is made for working with serial port, and i working with Qt on Windows so it must working with com port on windows PC.
But it doesn't.
I sending text messages from STM32 with UART-USB module to PC COM port, other terminals except Qt Terminal Example can read this text messages.
Qt is powerful framework, what do i need to do to make it work with PC ports like a usual terminal program?) -
what do i need to do make it work with PC ports like a usual terminal program?)
At least, read this: https://bugreports.qt.io/browse/QTBUG-78086
-
@millyvolt said in Terminal Example doesn't showing any data.:
@raven-worx as i understand QSerialPort library is made for working with serial port, and i working with Qt on Windows so it must working with com port on windows PC.
i never said that it wont work, i just said it wont work out of the box in case you are trying to connect to a terminal. its still not clear for me if you are trying to connect to a shell terminal or just want to communicate with "arbitrary" data sent over the port.