QextSerialPort provides an interface to serial ports for Qt-based applications.
Questions tagged [qextserialport]
41 questions
7
votes
1 answer
Qt app stays in memory even after MainWindow is closed
The problem is as follows: if the application is closed while it's not actively doing anything, it exits correctly. If it's actively working on something (waiting in a while loop, for example), however, the main window will close but the program…

SharpHawk
- 378
- 7
- 19
4
votes
1 answer
How to write on serial port using Qextserialport
I am using Ubunt 10.10.
I want to communicate with a microcontroller (ATmega328p) using serial through QT, so for testing I have created a dummy application on the microcontroller that reads character from the UART and responds on the serial port…

Karim
- 1,526
- 4
- 13
- 16
3
votes
2 answers
Qt QextSerialPort static lib
How do I make a static library of QextSerialPort for windows platform for use with Qt 4.8.5
I do not understand how to modify the .pro or .pri files to do this. (The .prf file keeps regenerating).
So I tried modifying the resultant .vcproj file to…

David Casper
- 394
- 2
- 9
2
votes
1 answer
qextserialport drops data on Windows -- what can I do about it?
Background
At the moment, I have TelosB motes that using to collect sensor data, and then transmit it over its USB serial port at 115200 baud.
In the past, I used Python to develop the program that will interface with the mote, but Python's GIL has…

Alex Koay
- 2,915
- 4
- 18
- 16
2
votes
1 answer
QextSerialPort Read issue
I am facing a weird behavior of readyRead(). I use QextSerialPort for my serial communication and connect readyRead() with my reading slot. For example, I am writing 45 bytes to port and expecting to read 45 bytes but what happens, my readyRead()…

newbieLinuxCpp
- 376
- 2
- 8
- 23
2
votes
1 answer
QextSerialPort blocks when trying to read
I am using QextSerialPort on Windows to enable my Qt/C++ application to read and write from/to the serial port.
I want to read bytes from the serial port only when there are bytes to read.
First, I tried connecting the QextSerialPort::readyRead()…

Genba
- 854
- 2
- 10
- 19
2
votes
2 answers
Are serial port settings permanent in Linux?
I have two programs to read from serial port, some device is connected at the other end.
First program is written using Qt framework and it uses QextSerialPort to communicate with serial. Second program is written in pure C.
Problem is like…

user2018761
- 306
- 5
- 14
2
votes
2 answers
waiting a few seconds in Qt
My knowledge of threading in Qt is rather limited, and I have a problem now that seems to be related to threading. I'm using QextSerialPort for communication over a uart. My class for serial communication looks like this (stripped to the…

mdriesen
- 1,492
- 2
- 10
- 11
2
votes
1 answer
readyRead() signal of QextSerialPort (QIODevice) is not being called fast enough
I am using qextserialport on a Raspberry Pi to communicate with an PanStamp (Arduino compatible device).
This PanStamp connected to the Pi executes two functions:
Send some sensor's readings each second (about 12 bytes);
Send all data it receives…

Tiago Queiroz
- 151
- 1
- 11
2
votes
1 answer
CommEvent overlapped in Qt
I'm using Qextserialport in QT, but I keep getting a waring:
CommEvent overlapped write error: 995
What does this warning mean? And more important, how do I solve it?

Frank
- 2,446
- 7
- 33
- 67
2
votes
1 answer
How to integrate qextserialport 1.2win alpha with Qt Creator?
i need to communicate with a serial RS232 device using a GUI in Qt....i downloaded the latest code from code google......but donno what to do next...initialy i did (i dont remember which version of qextserial it was) but it had a .pri file which i…

rotating_image
- 3,046
- 4
- 28
- 46
1
vote
0 answers
Qt+Mac: serial port doesn't answer on commands
I use modified QExtSerialPort because I don't need any libs. I write to port successfully and successfully read from port if data generated by device itself. But on my commands to it it doesn't answer. bytesAvailable () always returns 0 on any…

Oleg Linkin
- 31
- 2
1
vote
1 answer
Strange Qt problem - Window re-painting blocking threads?
This is a x-post of my post on the Qt support forum as I thought it was strange and interesting and you all might be able to help me here also.
I will attempt to explain a problem I am having – its a really weird one so bear with me as I try to…

Matt
- 367
- 1
- 5
- 20
1
vote
2 answers
Character encoding problem with QextSerialPort (Qt/C++)
I am developing a Qt/C++ programme in QtCreator that reads and writes from/to the serial port using QextSerialPort. My programme sends commands to a Rhino Mark IV controller and must read the response of those commands (just in case they produce any…

Genba
- 854
- 2
- 10
- 19
1
vote
1 answer
Why the Qt(4.8) serial port(qextserialport) readind data from device in 2 part?
this is my code : (I used qextserialport)
SerialPort::SerialPort(QString port)
{
sp=new QextSerialPort;
sp->setPortName(port);
/*port->setBaudRate(BAUD9600);
port->setFlowControl(FLOW_OFF);
port->setParity(PAR_NONE);
…

H.Ghassami
- 1,012
- 2
- 21
- 42