Hi All,

I met a issue when use the new connecting method, in my code:
connect(m_process,&QProcess::finished,this,&Dialog::done);
which will cause a error as follow:
error: no matching function for call to 'Dialog::connect(QProcess*&, 
<unresolved overloaded function type>, Dialog* const, void (Dialog::*)())'
     connect(m_process, &QProcess::finished, this, &Dialog::done);
                                                                ^
But the other signal such as "readyReadStandardOutput" works fine in this new 
connecting method. and if I change to old method as:
connect(m_process,SIGNAL(finished(int,QProcess::ExitStatus)),this,SLOT(done()));
It works with no problem too.
Anything I did wrong?
Thanks

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to