Unable to read from QSerialPort using MSVC compiler
-
@Turi said in Unable to read from QSerialPort using MSVC compiler:
I have already followed the suggestions of @J-Hilk
No, I was refering to this:
"also connect to the error signal errorOccured
https://doc.qt.io/qt-5/qserialport.html#errorOccurred"And you should use the Qt5 connect syntax: https://doc.qt.io/qt-5/signalsandslots.html
-
@Turi said in Unable to read from QSerialPort using MSVC compiler:
Based on Qt 5.12.2 (MSVC 2017, 32 bit)
This is the Qt version which was used to build QtCreator.
What Qt version do you use? -
@Turi said in Unable to read from QSerialPort using MSVC compiler:
Can you pass me a link where I can download this version?
Use the Qt Maintenance Tool to add that Qt version to your installation.
-
@Turi said in Unable to read from QSerialPort using MSVC compiler:
I tried with Qt 5.12.2 but not work.
I seggested 5.15.2, not 5.12.2
-
There was a bug with QSerialPort on Windows but IIRC it has been also fixed for the 5.12 series if you really need it. But you have to update to the latest release of that series.
-
Here the bug report for this issue: https://bugreports.qt.io/browse/QTBUG-78086