Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CXX qt/filesharing/qt_libbitcoinqt_a-connectionwidget.o
- qt/filesharing/connectionwidget.cpp: In constructor ‘ConnectionWidget::ConnectionWidget(QWidget*)’:
- qt/filesharing/connectionwidget.cpp:17:44: error: invalid use of incomplete type ‘class QUdpSocket’
- , m_broadcastSocket(new QUdpSocket(this))
- ^
- In file included from qt/filesharing/connectionwidget.cpp:1:0:
- qt/filesharing/connectionwidget.h:9:7: note: forward declaration of ‘class QUdpSocket’
- class QUdpSocket;
- ^~~~~~~~~~
- qt/filesharing/connectionwidget.cpp:24:22: error: invalid use of incomplete type ‘class QUdpSocket’
- m_broadcastSocket->bind(/*QHostAddress::Any, */DiscoveryPort/*, QAbstractSocket::ReuseAddressHint*/);
- ^~
- In file included from qt/filesharing/connectionwidget.cpp:1:0:
- qt/filesharing/connectionwidget.h:9:7: note: forward declaration of ‘class QUdpSocket’
- class QUdpSocket;
- ^~~~~~~~~~
- qt/filesharing/connectionwidget.cpp:26:87: error: no matching function for call to ‘ConnectionWidget::connect(QUdpSocket*&, const char*, ConnectionWidget*, const char*)’
- connect(m_broadcastSocket, SIGNAL(readyRead()), this, SLOT(readPendingDatagrams()));
- ^
- In file included from /home/hotswap/peersend/depends/x86_64-w64-mingw32/share/../include/QtWidgets/qwidget.h:45:0,
- from /home/hotswap/peersend/depends/x86_64-w64-mingw32/share/../include/QtWidgets/QWidget:1,
- from qt/filesharing/connectionwidget.h:4,
- from qt/filesharing/connectionwidget.cpp:1:
- /home/hotswap/peersend/depends/x86_64-w64-mingw32/share/../include/QtCore/qobject.h:214: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/hotswap/peersend/depends/x86_64-w64-mingw32/share/../include/QtCore/qobject.h:214:36: note: no known conversion for argument 1 from ‘QUdpSocket*’ to ‘const QObject*’
- /home/hotswap/peersend/depends/x86_64-w64-mingw32/share/../include/QtCore/qobject.h:217: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/hotswap/peersend/depends/x86_64-w64-mingw32/share/../include/QtCore/qobject.h:217:36: note: no known conversion for argument 1 from ‘QUdpSocket*’ to ‘const QObject*’
- /home/hotswap/peersend/depends/x86_64-w64-mingw32/share/../include/QtCore/qobject.h:469: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/hotswap/peersend/depends/x86_64-w64-mingw32/share/../include/QtCore/qobject.h:469:32: note: no known conversion for argument 1 from ‘QUdpSocket*’ to ‘const QObject*’
- /home/hotswap/peersend/depends/x86_64-w64-mingw32/share/../include/QtCore/qobject.h:234: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/hotswap/peersend/depends/x86_64-w64-mingw32/share/../include/QtCore/qobject.h:234:43: note: template argument deduction/substitution failed:
- /home/hotswap/peersend/depends/x86_64-w64-mingw32/share/../include/QtCore/qobject.h: In substitution of ‘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) [with Func1 = const char*; Func2 = const char*]’:
- qt/filesharing/connectionwidget.cpp:26:87: required from here
- /home/hotswap/peersend/depends/x86_64-w64-mingw32/share/../include/QtCore/qobject.h:234:43: error: no type named ‘Object’ in ‘struct QtPrivate::FunctionPointer<const char*>’
- /home/hotswap/peersend/depends/x86_64-w64-mingw32/share/../include/QtCore/qobject.h:266:13: note: candidate: template<class Func1, class Func2> static typename std::enable_if<((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/hotswap/peersend/depends/x86_64-w64-mingw32/share/../include/QtCore/qobject.h:266:13: note: template argument deduction/substitution failed:
- qt/filesharing/connectionwidget.cpp:26:87: note: candidate expects 3 arguments, 4 provided
- connect(m_broadcastSocket, SIGNAL(readyRead()), this, SLOT(readPendingDatagrams()));
- ^
- In file included from /home/hotswap/peersend/depends/x86_64-w64-mingw32/share/../include/QtWidgets/qwidget.h:45:0,
- from /home/hotswap/peersend/depends/x86_64-w64-mingw32/share/../include/QtWidgets/QWidget:1,
- from qt/filesharing/connectionwidget.h:4,
- from qt/filesharing/connectionwidget.cpp:1:
- /home/hotswap/peersend/depends/x86_64-w64-mingw32/share/../include/QtCore/qobject.h:275:13: note: candidate: template<class Func1, class Func2> static typename std::enable_if<(((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/hotswap/peersend/depends/x86_64-w64-mingw32/share/../include/QtCore/qobject.h:275:13: note: template argument deduction/substitution failed:
- /home/hotswap/peersend/depends/x86_64-w64-mingw32/share/../include/QtCore/qobject.h: In substitution of ‘template<class Func1, class Func2> static typename std::enable_if<(((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) [with Func1 = const char*; Func2 = const char*]’:
- qt/filesharing/connectionwidget.cpp:26:87: required from here
- /home/hotswap/peersend/depends/x86_64-w64-mingw32/share/../include/QtCore/qobject.h:275:13: error: no type named ‘type’ in ‘struct std::enable_if<false, QMetaObject::Connection>’
- /home/hotswap/peersend/depends/x86_64-w64-mingw32/share/../include/QtCore/qobject.h:306:13: note: candidate: template<class Func1, class Func2> static typename std::enable_if<(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/hotswap/peersend/depends/x86_64-w64-mingw32/share/../include/QtCore/qobject.h:306:13: note: template argument deduction/substitution failed:
- qt/filesharing/connectionwidget.cpp:26:87: note: candidate expects 3 arguments, 4 provided
- connect(m_broadcastSocket, SIGNAL(readyRead()), this, SLOT(readPendingDatagrams()));
- ^
- In file included from /home/hotswap/peersend/depends/x86_64-w64-mingw32/share/../include/QtWidgets/qwidget.h:45:0,
- from /home/hotswap/peersend/depends/x86_64-w64-mingw32/share/../include/QtWidgets/QWidget:1,
- from qt/filesharing/connectionwidget.h:4,
- from qt/filesharing/connectionwidget.cpp:1:
- /home/hotswap/peersend/depends/x86_64-w64-mingw32/share/../include/QtCore/qobject.h:314:13: note: candidate: template<class Func1, class Func2> static typename std::enable_if<(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/hotswap/peersend/depends/x86_64-w64-mingw32/share/../include/QtCore/qobject.h:314:13: note: template argument deduction/substitution failed:
- /home/hotswap/peersend/depends/x86_64-w64-mingw32/share/../include/QtCore/qobject.h: In substitution of ‘template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == -1), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType) [with Func1 = const char*; Func2 = const char*]’:
- qt/filesharing/connectionwidget.cpp:26:87: required from here
- /home/hotswap/peersend/depends/x86_64-w64-mingw32/share/../include/QtCore/qobject.h:314:13: error: no type named ‘Object’ in ‘struct QtPrivate::FunctionPointer<const char*>’
- qt/filesharing/connectionwidget.cpp: In member function ‘void ConnectionWidget::onSearchButtonPressed()’:
- qt/filesharing/connectionwidget.cpp:77:22: error: invalid use of incomplete type ‘class QUdpSocket’
- m_broadcastSocket->writeDatagram(DiscoveryWorld.toUtf8(), QHostAddress::Broadcast, DiscoveryPort);
- ^~
- In file included from qt/filesharing/connectionwidget.cpp:1:0:
- qt/filesharing/connectionwidget.h:9:7: note: forward declaration of ‘class QUdpSocket’
- class QUdpSocket;
- ^~~~~~~~~~
- qt/filesharing/connectionwidget.cpp: In member function ‘void ConnectionWidget::readPendingDatagrams()’:
- qt/filesharing/connectionwidget.cpp:82:29: error: invalid use of incomplete type ‘class QUdpSocket’
- while (m_broadcastSocket->hasPendingDatagrams()) {
- ^~
- In file included from qt/filesharing/connectionwidget.cpp:1:0:
- qt/filesharing/connectionwidget.h:9:7: note: forward declaration of ‘class QUdpSocket’
- class QUdpSocket;
- ^~~~~~~~~~
- qt/filesharing/connectionwidget.cpp:84:42: error: invalid use of incomplete type ‘class QUdpSocket’
- datagram.resize(m_broadcastSocket->pendingDatagramSize());
- ^~
- In file included from qt/filesharing/connectionwidget.cpp:1:0:
- qt/filesharing/connectionwidget.h:9:7: note: forward declaration of ‘class QUdpSocket’
- class QUdpSocket;
- ^~~~~~~~~~
- qt/filesharing/connectionwidget.cpp:88:26: error: invalid use of incomplete type ‘class QUdpSocket’
- m_broadcastSocket->readDatagram(datagram.data(), datagram.size(),
- ^~
- In file included from qt/filesharing/connectionwidget.cpp:1:0:
- qt/filesharing/connectionwidget.h:9:7: note: forward declaration of ‘class QUdpSocket’
- class QUdpSocket;
- ^~~~~~~~~~
- qt/filesharing/connectionwidget.cpp: In member function ‘void ConnectionWidget::processTheDatagram(QByteArray&, QHostAddress&)’:
- qt/filesharing/connectionwidget.cpp:107:20: error: aggregate ‘QUdpSocket sock’ has incomplete type and cannot be defined
- QUdpSocket sock;
- ^~~~
- Makefile:7533: recipe for target 'qt/filesharing/qt_libbitcoinqt_a-connectionwidget.o' failed
- make[2]: *** [qt/filesharing/qt_libbitcoinqt_a-connectionwidget.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement