Solved Signal for QSerialPort is not shown on list...
-
Hello to all,
I have an interesting problem.
I'm using QtCreator 4.8.0, Qt 5.12.0 , language is C++, and OS is windows7.I trying to connect a signal to catch an information comes from serial device.
The syntax is ;
QObject::connect(&arduino,SIGNAL(readyRead()),this,SLOT(serial_received()));The signal is working and catching the data... No problem on working...
But.... I couldnt see the readyRead signal on the list while I'm writing the code...
What is the problem ? -
@bladekel Use the new Qt5 connect syntax :-)
-
-
@J.Hilk
I see.. But I wrote uppercase "o" while taking screenshot... I know it has to be QObject...
Anyway thanks... -
@bladekel
Hi
Did you recently upgraded to 4.8 ?
It might be related to
https://bugreports.qt.io/browse/QTCREATORBUG-13558 -
@jsulm
How was it? -
-
@bladekel
I found it....
Here is the new syntax...connect(&arduino,&QIODevice::readyRead,this,&MainWindow::serial_received);