[Solved] Use of signal-slot connect in Windows 10
-
A point I have missed in my previous response.
I have written a small test this time.
#include "Clas.h" #include <QTimer> #include <QDebug> Clas::Clas(QObject *parent) : QObject(parent) { QTimer *timea = new QTimer ( this ); connect ( timea, SIGNAL ( timerout() ), this, SLOT (sltQuit() ) ); qDebug() << "debug"; qWarning() << "warning"; } void Clas::sltQuit() { }
and here is the output
Qt: Untested Windows version 10.0 detected! QObject::connect: No such signal QTimer::timerout() in ..\..\Test\CheckConnect\Clas.cpp:9 debug warning
So it is working perfectly also on windows 10 with MinGW version Qt 5.4.1.
-
Just saw something: the warning's right, the signal is timeout not timerout
-
Great! :)