Hi, That's an error in the serial bus module and already fixed in 5.8 branch. IMO not a stopper for the alpha.
Simon From:[email protected] Sent:September 3, 2016 07:08 To:[email protected] Subject:Re: [Releasing] Qt 5.8 alpha packages available I'm seeing an internal compiler error on Ubuntu 16.04.1 with gcc 5.4.0. That's presumably a gcc bug, but I also get some compile errors (see below). I can log this as a bug. I'll also try with gcc 4.8.4. In file included from modbustcpclient.cpp:43:0: modbustcpclient_p.h: In member function ‘virtual QModbusReply* ModbusTcpClientPrivate::enqueueRequest(const QModbusRequest&, int, const QModbusDataUnit&, QModbusReply::ReplyType)’: modbustcpclient_p.h:88:97: error: no matching function for call to ‘ModbusTcpClient::connect(ModbusTcpClient* const&, void (QModbusClient::*)(int), QTimer*, <unresolved overloaded function type>)’ q->connect(q, &QModbusClient::timeoutChanged, element.timer.data(), &QTimer::setInterval); ^ In file included from /home/tranter/ics/qt-everywhere-opensource-src-5.8.0-alpha/qtbase/include/QtCore/qobject.h:1:0, from /home/tranter/ics/qt-everywhere-opensource-src-5.8.0-alpha/qtbase/include/QtCore/../../src/corelib/kernel/qvariant.h:51, from /home/tranter/ics/qt-everywhere-opensource-src-5.8.0-alpha/qtbase/include/QtCore/qvariant.h:1, from /home/tranter/ics/qt-everywhere-opensource-src-5.8.0-alpha/qtbase/include/QtCore/QVariant:1, from .uic/ui_interface.h:12, from mainwindow.h:44, from modbustcpclient.cpp:41: /home/tranter/ics/qt-everywhere-opensource-src-5.8.0-alpha/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:202:36: note: candidate: static QMetaObject::Connection QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType) static QMetaObject::Connection connect(const QObject *sender, const char *signal, ^ /home/tranter/ics/qt-everywhere-opensource-src-5.8.0-alpha/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:202:36: note: no known conversion for argument 2 from ‘void (QModbusClient::*)(int)’ to ‘const char*’ /home/tranter/ics/qt-everywhere-opensource-src-5.8.0-alpha/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:205:36: note: candidate: static QMetaObject::Connection QObject::connect(const QObject*, const QMetaMethod&, const QObject*, const QMetaMethod&, Qt::ConnectionType) static QMetaObject::Connection connect(const QObject *sender, const QMetaMethod &signal, ^ /home/tranter/ics/qt-everywhere-opensource-src-5.8.0-alpha/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:205:36: note: no known conversion for argument 2 from ‘void (QModbusClient::*)(int)’ to ‘const QMetaMethod&’ /home/tranter/ics/qt-everywhere-opensource-src-5.8.0-alpha/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:453:32: note: candidate: QMetaObject::Connection QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const inline QMetaObject::Connection QObject::connect(const QObject *asender, const char *asignal, ^ /home/tranter/ics/qt-everywhere-opensource-src-5.8.0-alpha/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:453:32: note: no known conversion for argument 2 from ‘void (QModbusClient::*)(int)’ to ‘const char*’ /home/tranter/ics/qt-everywhere-opensource-src-5.8.0-alpha/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:222:43: note: candidate: template<class Func1, class Func2> static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const typename QtPrivate::FunctionPointer<Func2>::Object*, Func2, Qt::ConnectionType) static inline QMetaObject::Connection connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, ^ /home/tranter/ics/qt-everywhere-opensource-src-5.8.0-alpha/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:222:43: note: template argument deduction/substitution failed: In file included from modbustcpclient.cpp:43:0: modbustcpclient_p.h:88:97: note: couldn't deduce template parameter ‘Func2’ q->connect(q, &QModbusClient::timeoutChanged, element.timer.data(), &QTimer::setInterval); ^ In file included from /home/tranter/ics/qt-everywhere-opensource-src-5.8.0-alpha/qtbase/include/QtCore/qobject.h:1:0, from /home/tranter/ics/qt-everywhere-opensource-src-5.8.0-alpha/qtbase/include/QtCore/../../src/corelib/kernel/qvariant.h:51, from /home/tranter/ics/qt-everywhere-opensource-src-5.8.0-alpha/qtbase/include/QtCore/qvariant.h:1, from /home/tranter/ics/qt-everywhere-opensource-src-5.8.0-alpha/qtbase/include/QtCore/QVariant:1, from .uic/ui_interface.h:12, from mainwindow.h:44, from modbustcpclient.cpp:41: /home/tranter/ics/qt-everywhere-opensource-src-5.8.0-alpha/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:254:13: note: candidate: template<class Func1, class Func2> static typename QtPrivate::QEnableIf<((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2) connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot) ^ /home/tranter/ics/qt-everywhere-opensource-src-5.8.0-alpha/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:254:13: note: template argument deduction/substitution failed: In file included from modbustcpclient.cpp:43:0: modbustcpclient_p.h:88:97: note: candidate expects 3 arguments, 4 provided q->connect(q, &QModbusClient::timeoutChanged, element.timer.data(), &QTimer::setInterval); ^ In file included from /home/tranter/ics/qt-everywhere-opensource-src-5.8.0-alpha/qtbase/include/QtCore/qobject.h:1:0, from /home/tranter/ics/qt-everywhere-opensource-src-5.8.0-alpha/qtbase/include/QtCore/../../src/corelib/kernel/qvariant.h:51, from /home/tranter/ics/qt-everywhere-opensource-src-5.8.0-alpha/qtbase/include/QtCore/qvariant.h:1, from /home/tranter/ics/qt-everywhere-opensource-src-5.8.0-alpha/qtbase/include/QtCore/QVariant:1, from .uic/ui_interface.h:12, from mainwindow.h:44, from modbustcpclient.cpp:41: /home/tranter/ics/qt-everywhere-opensource-src-5.8.0-alpha/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:263:13: note: candidate: template<class Func1, class Func2> static typename QtPrivate::QEnableIf<(((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer<Func2>::IsPointerToMemberFunction)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType) connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot, ^ /home/tranter/ics/qt-everywhere-opensource-src-5.8.0-alpha/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:263:13: note: template argument deduction/substitution failed: In file included from modbustcpclient.cpp:43:0: modbustcpclient_p.h:88:97: note: couldn't deduce template parameter ‘Func2’ q->connect(q, &QModbusClient::timeoutChanged, element.timer.data(), &QTimer::setInterval); ^ In file included from /home/tranter/ics/qt-everywhere-opensource-src-5.8.0-alpha/qtbase/include/QtCore/qobject.h:1:0, from /home/tranter/ics/qt-everywhere-opensource-src-5.8.0-alpha/qtbase/include/QtCore/../../src/corelib/kernel/qvariant.h:51, from /home/tranter/ics/qt-everywhere-opensource-src-5.8.0-alpha/qtbase/include/QtCore/qvariant.h:1, from /home/tranter/ics/qt-everywhere-opensource-src-5.8.0-alpha/qtbase/include/QtCore/QVariant:1, from .uic/ui_interface.h:12, from mainwindow.h:44, from modbustcpclient.cpp:41: /home/tranter/ics/qt-everywhere-opensource-src-5.8.0-alpha/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:294:13: note: candidate: template<class Func1, class Func2> static typename QtPrivate::QEnableIf<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2) connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot) ^ /home/tranter/ics/qt-everywhere-opensource-src-5.8.0-alpha/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:294:13: note: template argument deduction/substitution failed: In file included from modbustcpclient.cpp:43:0: modbustcpclient_p.h:88:97: note: candidate expects 3 arguments, 4 provided q->connect(q, &QModbusClient::timeoutChanged, element.timer.data(), &QTimer::setInterval); ^ In file included from /home/tranter/ics/qt-everywhere-opensource-src-5.8.0-alpha/qtbase/include/QtCore/qobject.h:1:0, from /home/tranter/ics/qt-everywhere-opensource-src-5.8.0-alpha/qtbase/include/QtCore/../../src/corelib/kernel/qvariant.h:51, from /home/tranter/ics/qt-everywhere-opensource-src-5.8.0-alpha/qtbase/include/QtCore/qvariant.h:1, from /home/tranter/ics/qt-everywhere-opensource-src-5.8.0-alpha/qtbase/include/QtCore/QVariant:1, from .uic/ui_interface.h:12, from mainwindow.h:44, from modbustcpclient.cpp:41: /home/tranter/ics/qt-everywhere-opensource-src-5.8.0-alpha/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:302:13: note: candidate: template<class Func1, class Func2> static typename QtPrivate::QEnableIf<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType) connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot, ^ /home/tranter/ics/qt-everywhere-opensource-src-5.8.0-alpha/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:302:13: note: template argument deduction/substitution failed: In file included from modbustcpclient.cpp:43:0: modbustcpclient_p.h:88:97: note: couldn't deduce template parameter ‘Func2’ q->connect(q, &QModbusClient::timeoutChanged, element.timer.data(), &QTimer::setInterval); ^ Makefile:2114: recipe for target '.obj/modbustcpclient.o' failed make[5]: *** [.obj/modbustcpclient.o] Error 1 Makefile:94: recipe for target 'sub-adueditor-make_first' failed make[4]: *** [sub-adueditor-make_first] Error 2 Makefile:68: recipe for target 'sub-modbus-make_first' failed make[3]: *** [sub-modbus-make_first] Error 2 Makefile:42: recipe for target 'sub-serialbus-make_first' failed make[2]: *** [sub-serialbus-make_first] Error 2 Makefile:69: recipe for target 'sub-examples-make_first' failed make[1]: *** [sub-examples-make_first] Error 2 Makefile:229: recipe for target 'module-qtserialbus-make_first' failed make: *** [module-qtserialbus-make_first] Error 2 On 16-09-01 10:22 AM, Antti Kokko wrote: > Hi all, > > > We have Qt 5.8 alpha src packages available > here: > <http://ci-files02-hki.ci.local/packages/jenkins/qt/5.7/1456999797/src/><http://download.qt.io/snapshots/qt/5.7/5.7.0-alpha/latest_src/>http://download.qt.io/snapshots/qt/5.8/5.8.0-alpha/latest_src/ > > > Please note that the files were just copied, it might take couple of > hours for the mirror sync to complete. > > > Please check the packages to see if those are OK for alpha purposes > (compilation seems to work, all needed modules etc are in the packages). > We will release these packages as Qt 5.8 Alpha most probably tomorrow if > no alpha blockers found. So please inform all alpha blockers immediately > to [email protected] (please remember to fill proper bug report > as well) . > > > BR, > > Antti > > > > Antti Kokko > Release Engineer > > The Qt Company > Elektroniikkatie 13 > 90590, Oulu, Finland > [email protected] > +358 40 8275912 > http://qt.io <http://qt.io/> > <http://qt.io/> > <http://www.facebook.com/Qt> <http://www.twitter.com/qtproject> > <https://www.linkedin.com/company/the-qt-company/> > <https://plus.google.com/104580575722059274792> > <https://www.youtube.com/QtStudios> > > > > > _______________________________________________ > Releasing mailing list > [email protected] > http://lists.qt-project.org/mailman/listinfo/releasing > -- Jeff Tranter, Engineering Manager, Integrated Computer Solutions. ICS - Qt Software Development Services and Training http://ics.com/services/ _______________________________________________ Releasing mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/releasing
_______________________________________________ Releasing mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/releasing
