g++ -c -pipe -O2 -std=c++11 -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -Wno-missing-field-initializers -D_REENTRANT -fPIC -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_REMOTEOBJECTS_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_URL_CAST_FROM_STRING -DQT_BUILD_REMOTEOBJECTS_LIB -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../../include -I../../include/QtRemoteObjects -I../../include/QtRemoteObjects/5.12.0 -I../../include/QtRemoteObjects/5.12.0/QtRemoteObjects -I. -I/qt/qt-everywhere-src-5.12.0/qtbase/include -I/qt/qt-everywhere-src-5.12.0/qtbase/include/QtNetwork -I/qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/5.12.0 -I/qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/5.12.0/QtCore -I/qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore -I.moc -I/qt/qt-everywhere-src-5.12.0/qtbase/mkspecs/linux-g++ -o .obj/qconnectionfactories.o qconnectionfactories.cpp qconnectionfactories.cpp: In constructor ExternalIoDevice::ExternalIoDevice(QIODevice*, QObject*): qconnectionfactories.cpp:234:93: error: no matching function for call to ExternalIoDevice::connect(QPointer&, void (QIODevice::*)(), ExternalIoDevice* const, ExternalIoDevice::ExternalIoDevice(QIODevice*, QObject*)::__lambda9) connect(m_device, &QIODevice::aboutToClose, this, [this]() { this->m_isClosing = true; }); ^ qconnectionfactories.cpp:234:93: note: candidates are: In file included from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/qobject.h:1:0, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/io/qiodevice.h:45, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/qiodevice.h:1, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtNetwork/../../src/network/socket/qabstractsocket.h:44, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtNetwork/qabstractsocket.h:1, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtNetwork/QAbstractSocket:1, from qconnectionfactories_p.h:54, from qconnectionfactories.cpp:40: /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:208:36: note: 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, ^ /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:208:36: note: no known conversion for argument 2 from void (QIODevice::*)() to const char* /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:211:36: note: 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, ^ /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:211:36: note: no known conversion for argument 2 from void (QIODevice::*)() to const QMetaMethod& /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:463:32: note: QMetaObject::Connection QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const inline QMetaObject::Connection QObject::connect(const QObject *asender, const char *asignal, ^ /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:463:32: note: no known conversion for argument 2 from void (QIODevice::*)() to const char* /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:228:43: note: 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, ^ /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:228:43: note: template argument deduction/substitution failed: qconnectionfactories.cpp:234:93: note: mismatched types const typename QtPrivate::FunctionPointer::Object* and QPointer connect(m_device, &QIODevice::aboutToClose, this, [this]() { this->m_isClosing = true; }); ^ In file included from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/qobject.h:1:0, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/io/qiodevice.h:45, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/qiodevice.h:1, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtNetwork/../../src/network/socket/qabstractsocket.h:44, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtNetwork/qabstractsocket.h:1, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtNetwork/QAbstractSocket:1, from qconnectionfactories_p.h:54, from qconnectionfactories.cpp:40: /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:260:13: note: template static typename std::enable_if<((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) ^ /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:260:13: note: template argument deduction/substitution failed: qconnectionfactories.cpp:234:93: note: mismatched types ‘const typename QtPrivate::FunctionPointer::Object*’ and ‘QPointer’ connect(m_device, &QIODevice::aboutToClose, this, [this]() { this->m_isClosing = true; }); ^ In file included from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/qobject.h:1:0, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/io/qiodevice.h:45, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/qiodevice.h:1, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtNetwork/../../src/network/socket/qabstractsocket.h:44, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtNetwork/qabstractsocket.h:1, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtNetwork/QAbstractSocket:1, from qconnectionfactories_p.h:54, from qconnectionfactories.cpp:40: /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:269:13: note: template static typename std::enable_if<(((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, ^ /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:269:13: note: template argument deduction/substitution failed: qconnectionfactories.cpp:234:93: note: mismatched types const typename QtPrivate::FunctionPointer::Object*and QPointer connect(m_device, &QIODevice::aboutToClose, this, [this]() { this->m_isClosing = true; }); ^ In file included from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/qobject.h:1:0, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/io/qiodevice.h:45, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/qiodevice.h:1, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtNetwork/../../src/network/socket/qabstractsocket.h:44, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtNetwork/qabstractsocket.h:1, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtNetwork/QAbstractSocket:1, from qconnectionfactories_p.h:54, from qconnectionfactories.cpp:40: /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:300:13: note: template static typename std::enable_if<(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) ^ /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:300:13: note: template argument deduction/substitution failed: qconnectionfactories.cpp:234:93: note: mismatched types ‘const typename QtPrivate::FunctionPointer::Object*’ and ‘QPointer’ connect(m_device, &QIODevice::aboutToClose, this, [this]() { this->m_isClosing = true; }); ^ In file included from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/qobject.h:1:0, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/io/qiodevice.h:45, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/qiodevice.h:1, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtNetwork/../../src/network/socket/qabstractsocket.h:44, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtNetwork/qabstractsocket.h:1, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtNetwork/QAbstractSocket:1, from qconnectionfactories_p.h:54, from qconnectionfactories.cpp:40: /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:308:13: note: template static typename std::enable_if<(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, ^ /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:308:13: note: template argument deduction/substitution failed: qconnectionfactories.cpp:234:93: note: mismatched types ‘const typename QtPrivate::FunctionPointer::Object*’ and ‘QPointer’ connect(m_device, &QIODevice::aboutToClose, this, [this]() { this->m_isClosing = true; }); ^ qconnectionfactories.cpp:235:80: error: no matching function for call to ExternalIoDevice::connect(QPointer&, void (QIODevice::*)(), ExternalIoDevice* const, void (IoDeviceBase::*)()) connect(m_device, &QIODevice::readyRead, this, &ExternalIoDevice::readyRead); ^ qconnectionfactories.cpp:235:80: note: candidates are: In file included from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/qobject.h:1:0, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/io/qiodevice.h:45, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/qiodevice.h:1,unx from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtNetwork/../../src/network/socket/qabstractsocket.h:44, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtNetwork/qabstractsocket.h:1, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtNetwork/QAbstractSocket:1, from qconnectionfactories_p.h:54, from qconnectionfactories.cpp:40: /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:208:36: note: 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, ^ /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:208:36: note: no known conversion for argument 2 from ‘void (QIODevice::*)()’ to ‘const char*’ /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:211:36: note: 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, ^ /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:211:36: note: no known conversion for argument 2 from ‘void (QIODevice::*)()’ to ‘const QMetaMethod&’ /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:463:32: note: QMetaObject::Connection QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const inline QMetaObject::Connection QObject::connect(const QObject *asender, const char *asignal, ^ /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:463:32: note: no known conversion for argument 2 from ‘void (QIODevice::*)()’ to ‘const char*’ /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:228:43: note: 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, ^ /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:228:43: note: template argument deduction/substitution failed: qconnectionfactories.cpp:235:80: note: mismatched types ‘const typename QtPrivate::FunctionPointer::Object*’ and ‘QPointer’ connect(m_device, &QIODevice::readyRead, this, &ExternalIoDevice::readyRead); ^ In file included from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/qobject.h:1:0, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/io/qiodevice.h:45, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/qiodevice.h:1, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtNetwork/../../src/network/socket/qabstractsocket.h:44, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtNetwork/qabstractsocket.h:1, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtNetwork/QAbstractSocket:1, from qconnectionfactories_p.h:54, from qconnectionfactories.cpp:40: /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:260:13: note: template static typename std::enable_if<((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) ^ /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:260:13: note: template argument deduction/substitution failed: qconnectionfactories.cpp:235:80: note: mismatched types ‘const typename QtPrivate::FunctionPointer::Object*’ and ‘QPointer’ connect(m_device, &QIODevice::readyRead, this, &ExternalIoDevice::readyRead); ^ In file included from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/qobject.h:1:0, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/io/qiodevice.h:45, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/qiodevice.h:1, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtNetwork/../../src/network/socket/qabstractsocket.h:44, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtNetwork/qabstractsocket.h:1, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtNetwork/QAbstractSocket:1, from qconnectionfactories_p.h:54, from qconnectionfactories.cpp:40: /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:269:13: note: template static typename std::enable_if<(((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, ^ /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:269:13: note: template argument deduction/substitution failed: qconnectionfactories.cpp:235:80: note: mismatched types ‘const typename QtPrivate::FunctionPointer::Object*’ and ‘QPointer’ connect(m_device, &QIODevice::readyRead, this, &ExternalIoDevice::readyRead); ^ In file included from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/qobject.h:1:0, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/io/qiodevice.h:45, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/qiodevice.h:1, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtNetwork/../../src/network/socket/qabstractsocket.h:44, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtNetwork/qabstractsocket.h:1, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtNetwork/QAbstractSocket:1, from qconnectionfactories_p.h:54, from qconnectionfactories.cpp:40: /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:300:13: note: template static typename std::enable_if<(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) ^ /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:300:13: note: template argument deduction/substitution failed: qconnectionfactories.cpp:235:80: note: mismatched types ‘const typename QtPrivate::FunctionPointer::Object*’ and ‘QPointer’ connect(m_device, &QIODevice::readyRead, this, &ExternalIoDevice::readyRead); ^ In file included from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/qobject.h:1:0, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/io/qiodevice.h:45, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/qiodevice.h:1, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtNetwork/../../src/network/socket/qabstractsocket.h:44, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtNetwork/qabstractsocket.h:1, from /qt/qt-everywhere-src-5.12.0/qtbase/include/QtNetwork/QAbstractSocket:1, from qconnectionfactories_p.h:54, from qconnectionfactories.cpp:40: /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:308:13: note: template static typename std::enable_if<(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, ^ /qt/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:308:13: note: template argument deduction/substitution failed: qconnectionfactories.cpp:235:80: note: mismatched types ‘const typename QtPrivate::FunctionPointer::Object*’ and ‘QPointer’ connect(m_device, &QIODevice::readyRead, this, &ExternalIoDevice::readyRead); ^ Makefile:3488: recipe for target '.obj/qconnectionfactories.o' failed gmake[3]: *** [.obj/qconnectionfactories.o] Error 1 gmake[3]: Leaving directory 'qt/qt-everywhere-src-5.12.0/qtremoteobjects/src/remoteobjects' Makefile:89: recipe for target 'sub-remoteobjects-make_first-ordered' failed gmake[2]: *** [sub-remoteobjects-make_first-ordered] Error 2 gmake[2]: Leaving directory '/qt/qt-everywhere-src-5.12.0/qtremoteobjects/src' Makefile:48: recipe for target 'sub-src-make_first' failed gmake[1]: *** [sub-src-make_first] Error 2 gmake[1]: Leaving directory '/qt/qt-everywhere-src-5.12.0/qtremoteobjects' Makefile:359: recipe for target 'module-qtremoteobjects-make_first' failed gmake: *** [module-qtremoteobjects-make_first] Error 2