Some of the required modules (if(wince|embedded|x11):qtHaveModule(gui)) are not available. Skipped. 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*, )’ 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 static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer::Object*, Func1, const typename QtPrivate::FunctionPointer::Object*, Func2, Qt::ConnectionType) static inline QMetaObject::Connection connect(const typename QtPrivate::FunctionPointer::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 static typename QtPrivate::QEnableIf<((int)(QtPrivate::FunctionPointer::ArgumentCount) >= 0), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer::Object*, Func1, Func2) connect(const typename QtPrivate::FunctionPointer::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 static typename QtPrivate::QEnableIf<(((int)(QtPrivate::FunctionPointer::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer::IsPointerToMemberFunction)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer::Object*, Func1, const QObject*, Func2, Qt::ConnectionType) connect(const typename QtPrivate::FunctionPointer::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 static typename QtPrivate::QEnableIf<(QtPrivate::FunctionPointer::ArgumentCount == (-1)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer::Object*, Func1, Func2) connect(const typename QtPrivate::FunctionPointer::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 static typename QtPrivate::QEnableIf<(QtPrivate::FunctionPointer::ArgumentCount == (-1)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer::Object*, Func1, const QObject*, Func2, Qt::ConnectionType) connect(const typename QtPrivate::FunctionPointer::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